mediacloud / news-search-api

Internal API server that offers search access to the Media Cloud Online News Archive (in Elasticsearch).
https://mediacloud.org
GNU Affero General Public License v3.0
1 stars 3 forks source link

convert to async I/O? #54

Open rahulbot opened 7 months ago

rahulbot commented 7 months ago

This could reduce latency and server load. Note @philbudne did an initial pass at trying this out here: https://github.com/philbudne/news-search-api/tree/async

philbudne commented 6 months ago

My thought was that it {c,w,sh}ould avoid the need to run zillions of news-search-api threads/processes to service requests from mcweb (currently 1041 mcweb.wsgi processes running with 35843 total threads)