asyncmongo
asyncmongo copied to clipboard
Connections queue support
Instead of raise the TooManyConnections exception when maxconnections is reached, the outgoing requests will be queued until a slot become free.
I faced a problem regarding this issue on a high concurrency scenario, I did some tests and seems to work properly.
Isn't this the same as pull request 45, https://github.com/bitly/asyncmongo/pull/45 ?
@FlorianLudwig It solve the same problem, but the implementation it's a little bit different (In this one, the connection is taken on the releasing event, IMHO it's a little bit efficient)