-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pool support #64
Comments
Can you tell me more about your idea? I think the C Driver's mongoc_client_pool_t is useful only for multithreaded applications. A single-threaded application can just use one mongoc_client_t for all operations. But I don't know much about Lua so perhaps your idea is useful. |
Hello @ajdavis ! |
Sounds interesting, and it resembles how the new PHP driver does connection pooling. Let me dig up some documentation about that.... |
Thank you for pointing me about PHP. http://php.net/manual/en/mongo.connecting.pools.php is said, that now pooling is not used. I'm try to investigate now why that needs. |
one nice feature - mongo pool as must have be in mongorover.
it might be a simple implemented for short lived lua sessions for example. (while gc on destroy - return
connection to back to pool). Does any known issues, that this idea won't work, or maybe hard to implemented on that way?
I'm may be try to implement this feature (since it may be needed me in production).
The text was updated successfully, but these errors were encountered: