Pooling configuration sizing for the Mule 4 Database Connnector

Viewed 31

I want to do connection pooling in Database connector in Mule 4, but I'm not able to figure it out how to configure max and min pool size? I am sending sending data which is of dynamic size. Hence what should an ideal size of max and min pool and why to use that particular size only.

1 Answers

Pool sizing is not related directly to the size of the data but to the number of concurrent operations. No one can tell you what size to use for your application. You need to understand how many concurrent database operations for a given database configuration you may have. The number may come from real experience, testing or an estimation. Anything else is bogus.

Related