Speeding up CGIHTTPServer
Steve Holden
steve at holdenweb.com
Tue Mar 8 07:17:26 EST 2005
Tim Roberts wrote:
> "Johan Kohler" <kohlerj at ukzn.ac.za> wrote:
>
>>I'm using CGIHTTPServer (via its test() method) to test some CGI on my
>>Windoze 98 box. I find that the execution is very slow. Is there
>>anything I can do to make sure I'm getting the best performance out of
>>CGIHTTPServer?
>
>
> Compared to what, and on what hardware?
>
> CGI is not a rip-roaring performance demon on any platform, but
> CGIHTTPServer is designed to be convenient more than fast. It isn't going
> to do as well as a native server.
>
> The key question you need ask is this: is it fast enough? If you're doing
> a web page for internal use that is only going to get a hundred hits a day,
> who cares if each page takes 5 seconds to render? If you're doing 10,000
> hits a day, you need to choose something other than Windows 98.
>
> There are some other options. Microsoft has Personal Web Server for Win98,
> although I think it's awfully hard to configure. thttpd and xitami are
> good lightweight web servers.
>
> Apache works quite well in Windows, but I don't think it is very happy on
> Windows 98.
It's OK if you update the TCP/IP stack, but Xitami is a much easier
lightweight install.
regards
Steve
More information about the Python-list
mailing list