Re: site's been down
Manlio Perillo <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
Michael Bayer ha scritto: > we use a few trac instances on a small slicehost virtual slice with > only 256 megs of ram, running from mod_python using the prefork > MPM. We keep the spare forks way down (to like, 2) and set > maxrequestsperchild to something modest so that leaks dont grow....one > trac instance talks to PG, the other talks to sqlite. Its been > running solid as a rock for many months with very fast performance. > If you don't need many active processes that can serve the http requests, you can give a look at my WSGI implementation for the Nginx server. http://hg.mperillo.ath.cx/nginx/mod_wsgi/ It's still experimental, but some people are starting to use it. Nginx is an asynchronous server, with multiple process support (but only a fixed number of worker processes are executed). By the way: I have implemented some extensions for supporting asynchronous applications, and I'm testing them with the asynchronous API of psycopg2. Manlio Perillo