topleft
topright

Topics

ServoyCamp Login



New Users

                 

Online Users

No users online!
Servoy Connection pooling
Best Practices
Written by Harjo Kompagnie | Friday, 17 September 2010 14:09   

Hi, personally I never knew how the connection pooling exactly was working in the Servoy Application Server, and what numbers to use in what situation.

This is what Servoy does default:

Johan, nicely explained this on the Servoy Forum:

 

Connection pooling works like this:
at the moment a client (smart or web) does a query, it takes one from the pool if there is 1 idle. (if not it will create one) then if it is done it puts it back into the pool and it keeps idle connections until the max idle count

Please login or register to see the full article
 

Comments  

 
0 #1 Johan Compagner 2010-09-18 14:12
I changed the defaults a bit in servoy for the next release. its now 10 idle and max active 30 so that it doesnt bite users as much as i could if you keep the max to low.