Reputation: 1313
Is there any way to increase maxpoolsize dynamically based on the application load.
Upvotes: 1
Views: 911
Reputation: 48087
The pool size is what's adjusting dynamically. That's what it's there for.
The max pool size is the amount of resources that you're ready to share with the application - e.g. due to available bandwidth, memory, or other. Set the max value to whatever you're ok with the application to use under expected or unexpected load. The application will use resources according to the current actual load.
So, even if you can come up with a dynamic way to adjust, it wouldn't make much sense.
Upvotes: 2