I want to know will there be any performance hit if I use many chaining xlates which uses BulkCopy command.
I know we can merge all the xlates in single one but for some reasons, I want to separate out the customization in individual xlates and later chained them.
I’m not sure I fully understand the use-case, but using multiple xlates vs. one will incur some overhead as each xlate uses resources. It may not be a discernable hit, but you are using more resources simply by virtue of using more xlates.
I have a situation where I chain 2 Xlates in approximately 10 routes.
With just 2 I don’t see any great performance issue.
An important question to the performance topic is whether the already parsed message from the head of the chain is retained to be used further down the chain. If the parsing is not re-used then the performance will take a hit of some sort as the message needs to be re-parsed.
I do not know the answer to the re-use question.
Of course you might see a completely different picture than I do as the capacity of our systems could differ significantly. So while my system has no issue with 2 chained Xlates yours might not like that at all.
I suggest you do a bench mark to see what you experience.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.