If you have a Python CRUD app, there are many steps you should take to speed up the app before parallelizing queries. The first couple that come to mind: - Caching. The 90-10 rule applies to most CRUD apps. Use varnish to get rid of some requests before they hit your webserver or make a redis/memcache LRU layer to prevent queries from hitting your database. - Shifting more work away from Python to the database. A sur…
Why don't I put caching on my threaded app and leave it at that? Async gets me nothing.
I would be curious to see how much memory each of your test cases used.
However, if you have memory problems in your webserver, it might be worth just spinning up more webservers...