Speeding up CGIHTTPServer

J

Johan Kohler

Hi,
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?

Thanks in advance,
Johan
 
T

Tim Roberts

Johan Kohler said:
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.
 
S

Steve Holden

Tim said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,222
Messages
2,571,138
Members
47,755
Latest member
Grazynkaa

Latest Threads

Top