Open joamag opened 6 years ago
Using a pool of threads and the Future based abstraction it should be possible to adapt the current data layer access to an async fashion.
Future
PyMongo with callback support.
https://motor.readthedocs.io/en/latest/examples/callbacks-and-coroutines.html#with-coroutines
Description
Using a pool of threads and the
Future
based abstraction it should be possible to adapt the current data layer access to an async fashion.PyMongo with callback support.
References
https://motor.readthedocs.io/en/latest/examples/callbacks-and-coroutines.html#with-coroutines