Re: [Proxool-developer] Proxool behavior when max connection reached
UNMAINTAINED!
Brought to you by:
billhorsman
From: Bill H. <bi...@lo...> - 2004-03-17 23:05:02
|
Bertrand, On Wed, 2004-03-17 at 21:20, Bertrand Renuart wrote: > (tell me if I'm wrong) You're not. > I was thinking about a more flexible approach: *hard* and *soft* limit (a > bit like the disk quotas): > - soft limit: when the soft limit is reached, new connection requests are > blocked until one becomes available; > - hard limit: an exception is thrown when the number of used > connections+queued connections reaches the hard limit It's a useful idea. We would have to be defensive in making sure that the queue of waiting threads didn't get out of hand. But having a hard limit should solve that. +1 (for post 1.0) - Bill (Keep it up with the ideas - and add this one as a feature request) |