durusmail: quixote-users: mod_python
mod_python
2001-09-18
2001-09-18
2001-09-18
2001-09-19
2001-09-18
2001-09-19
2001-09-19
2001-09-19
2001-09-19
2001-09-19
mod_python
Erno Kuusela
2001-09-18
hello,

On Tue, 18 Sep 2001, Neil Schemenauer wrote:

| On Tue, Sep 18, 2001 at 05:49:11PM +0300, Erno Kuusela wrote:
| > it goes pretty fast (ab says 150 req/s with the demo "handler by a
| > python function" url)
|
| What kind of hardware?  I get 100 req/s on my 750 Mhz Athon box using
| FastCGI.  On a dual 1 Ghz Xeon machine I can get 300 req/s.  It seems
| like FastCGI and mod_python are comparable in performance.

the hardware is a 700mhz duron running linux 2.4.

| Regarding mod_python, can it start more than one Python process to
| handle requests in parallel?  Also, what happens if the Python process
| dies?  Does mod_python restart it?

mod_python has the python interpreter in the apache processes. so it
will naturally handle many requests in parallel. i think apache has one
"manager" process and many "worker" processes, so i would speculate the
manager would just start a new process to take the place of a crashed
worker.

   -- erno


reply