You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 andasync def
decorated@rest
endpoints.motor
asyncio implementation is just a wrapper aroundpymongo
with aThreadPoolExecutor
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:
The text was updated successfully, but these errors were encountered: