mongoengine icon indicating copy to clipboard operation
mongoengine copied to clipboard

Asynchronous PyMongo client - is it possible in the future?

Open frenzyk opened this issue 10 months ago • 3 comments

Yes, I read faq. But now motor stops active development in favor of PyMongo and PyMongo develops async client. Also uMongo and MotorEngine is not actively developed.

Is there plans to adopt asynchronous PyMongo client when it will be released to stable? Or async is impossible because of some mongoengine architecture decisions?

frenzyk avatar Mar 05 '25 15:03 frenzyk

Any update on it?

pskd73 avatar Jun 06 '25 07:06 pskd73

PashaHatsune avatar Jul 18 '25 09:07 PashaHatsune

At this moment there is no plan or active work to support it. I don't think there is anything in MongoEngine that would be in the way though and I'm not against the idea. MongoEngine itself (de-serialization) is CPU bound and usually much slower than underlying pymongo queries but this isn't necessarily a showstopper.

bagerard avatar Jul 28 '25 15:07 bagerard