Skip to content
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

mongodriver follow up: use connection pool native support in Mongo C driver #3789

Open
fgalan opened this issue Feb 23, 2021 · 1 comment
Open

Comments

@fgalan
Copy link
Member

fgalan commented Feb 23, 2021

During the driver migration done on issue #3132 (PR #3622), we just "translate" the pool management approach existing in Orion. I mean, there are individual connections managed by Orion itself (see MongoConnection* connectionPool global variable).

This approach works but maybe is smarter to use the native pool features of the Mongo C driver. See mongoc_client_pool (which also includes example code) and associated functions

@fgalan
Copy link
Member Author

fgalan commented Feb 26, 2021

Looks for FIXME #3789 marks in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant