Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-08 Thread Jack
Thanks Tim and Gerard for recommending karrigell. I just checked it out. It is indeed a nice package. However, I didn't find it easier to learn or use than CherryPy though. I read through CherryPy tutorials and have got a good idea how to use it. I also read Karrigell docs. The way Karrigell

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Jack
I just did some testing between CherryPy's web server and lighttpd. My test was very simple and I used ab.exe for this purpose. CherryPy web server can serve about 140 simple request / second, while lighttpd can handle around 400 concurrent requests. You haven't really said much about your

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Tim Williams
On 07/07/06, Jack [EMAIL PROTECTED] wrote: I just did some testing between CherryPy's web server and lighttpd. My test was very simple and I used ab.exe for this purpose. CherryPy web server can serve about 140 simple request / second, while lighttpd can handle around 400 concurrent requests.

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Gerard Flanagan
Tim Williams wrote: On 07/07/06, Jack [EMAIL PROTECTED] wrote: I just did some testing between CherryPy's web server and lighttpd. My test was very simple and I used ab.exe for this purpose. CherryPy web server can serve about 140 simple request / second, while lighttpd can handle around

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Tim Williams
On 7 Jul 2006 06:27:43 -0700, Gerard Flanagan [EMAIL PROTECTED] wrote: Tim Williams wrote: On 07/07/06, Jack [EMAIL PROTECTED] wrote: I just did some testing between CherryPy's web server and lighttpd. My test was very simple and I used ab.exe for this purpose. CherryPy web server can

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Jack
I wrote the last posting at late late night and I didn't know what I was typing at that time ;-p I didn't mean the test with CherryPy was not concurrent connections, or the test with lighttpd was all concurrent connections. I actually tried both concurrent (-c in ab command line) and

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread fumanchu
Jack wrote: I wrote the last posting at late late night and I didn't know what I was typing at that time ;-p I didn't mean the test with CherryPy was not concurrent connections, or the test with lighttpd was all concurrent connections. I actually tried both concurrent (-c in ab command line)

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Istvan Albert
I will have to install lighttpd or other web servers. If it is a Python web server, it would be nice to extend it by putting code right into the web server. The performance should be better than FastCGI because it removes the cost to send the requests/replies back and forth. you'll need to

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Jack
You are right. Load test can be complicated because of the various patterns of web applications and usages. The simple tests I mentioned and conducted just give myself some idea about the performance. Given the same set up, some numbers should be comparable and reveal some aspects on web servers'

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread thorley
Just thought I'd mention it. As stated in some posts I put on the list in the last few days, I'm working on a FastCGI server for python. Of course its not as fast as lighttpd, but I think it still has many applications. I've currently got a *very* simple prototype, but I expect the finished module

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-07 Thread Jack
I'm using CherryPy 2.2.1. I just ran benchmark.py multiple times. The fastest it got is 195 req/sec, with 50 threads. Python was taking 50+% CPU when the test was running. It would be good to know which version of CherryPy you are using. That wiki page is talking about the CP 2.0 branch; 2.1

Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-06 Thread Jack
Basically I am trying to find a high performance web server. Since Python is installed on all of the servers, It'll be great if the web server is written in Python as well. Otherwise, I will have to install lighttpd or other web servers. Then the largest issue with Python-based web servers is

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-06 Thread Jean-Paul Calderone
On Thu, 6 Jul 2006 09:36:25 -0700, Jack [EMAIL PROTECTED] wrote: Basically I am trying to find a high performance web server. Since Python is installed on all of the servers, It'll be great if the web server is written in Python as well. Otherwise, I will have to install lighttpd or other web

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-06 Thread Istvan Albert
Jack wrote: I will have to install lighttpd or other web servers. do that. If all you need is a webserver there's little reason to have it in python. Just use one of the several high quality open source webservers. -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-06 Thread Jack
To be honest, I'm not sure what kind of performance I can get even with medusa or twisted. I assume it won't be as fast as servers written in C/C++ and use async sockets, but should be much better than multi-processed or multi-threaded servers in written in Python. Not sure if anyone else has an

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-06 Thread Jack
I will have to install lighttpd or other web servers. do that. If all you need is a webserver there's little reason to have it in python. Just use one of the several high quality open source webservers. lighttpd is a great web server. I just didn't want to bother download the source,

Re: Looking for a high performance web server written in Python, and supports CGI/FastCGI

2006-07-06 Thread Jack
I will have to install lighttpd or other web servers. do that. If all you need is a webserver there's little reason to have it in python. Just use one of the several high quality open source webservers. If it is a Python web server, it would be nice to extend it by putting code right into