I gave a shot at creating an alternative connection pool that uses a
Queue instead of a Mutex (http://pastie.org/2256380).  I've decided
not to include it with Sequel, but figured I should put it out there
if anyone is interested.

Advantages vs. default threaded connection pool:
* Lower CPU usage if there is a lot of thread contention (but you can
set :pool_sleep_time from 0.001 to a higher number in the default
connection pool to get similar CPU usage)
* Slightly faster

Disadvantages vs. default threaded connection pool:
* No support for timeouts
* No support for multiple servers
* Must call reconnect if you call disconnect
* Creates max_connections connections immediately
* Immediately reconnects if disconnect is detected

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to