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