3 ms·
> Multiprocessing. The answer is to use the python multiprocessing module, or to spin up multiple processes behind wsgi or whatever. I assume mod_wsgi under ap
by jgalt212 3y ago
> Multiprocessing. The answer is to use the python multiprocessing module, or to spin up multiple processes behind wsgi or whatever.
I assume mod_wsgi under apache was not the answer here due to memory constraints. That being said, why not serve from disk and use redis for a cache. This should work well unless the queries had high cardinality.
- tsimionescu 3y agoServe what from disk? If they are using python, they are almost certainly writing am api server, not static files.