Hacker News new | ask | show | jobs
by jgalt212 1061 days 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.

1 comments

Serve what from disk? If they are using python, they are almost certainly writing am api server, not static files.