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

Eventually provide asyncio version of mongo_client #461

Open
viniarck opened this issue Feb 28, 2024 · 0 comments
Open

Eventually provide asyncio version of mongo_client #461

viniarck opened this issue Feb 28, 2024 · 0 comments
Labels
epic_mongodb_asyncio MongoDB motor asyncio lib

Comments

@viniarck
Copy link
Member

MongoDB has an official asyncio client - motor, and pymongo is the last major blocking driver we have, once we can also provide an asyncio client version this will unlock that NApps can leverage it on async @alisten_to handlers and async def decorated @rest endpoints.

motor asyncio implementation is just a wrapper around pymongo with a ThreadPoolExecutor acting as a compatibility layer, so it's not using fully async funcs all the way down, so before using this lib let's also benchmark and research more about it.

Fore more info:

@viniarck viniarck added the epic_mongodb_asyncio MongoDB motor asyncio lib label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic_mongodb_asyncio MongoDB motor asyncio lib
Projects
None yet
Development

No branches or pull requests

1 participant