[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] MacPerl and [A]CGI startup time



On 5/5/98 Chris Nandor wrote:

>There is not a lot that can be done currently.  WebTen is a Mac OS web
>server that comes with its own perl interpreter (basically, it emulates
>Unix) that can solve many of these problems.  Basically, Mac OS is not the
>best platform for serving CGIs, and MacPerl is (currently) not the best
>platform for serving CGIs on Mac OS, simply for performance reasons; not
>that MacPerl is not pretty speedy, but that it can only execute one thing
>at a time, and because of compilation time required for each execution.

I wrote a web server (called the MacPerl Web Server) which was supposed to
address the issue of slow CGIs on Mac OS.  All CGIs are precompiled as the
server is booting up, so they execute super, super fast.

CGIs are working great with the server.  However there is a bug in MacPerl
(not my server!) which effects other aspects of the server's performance.
This bug is that MacPerl loses TCP socket connection requests under certain
kinds of circumstances.  For example, when the server deals with web-pages
with lots of small images.  This is bad.

As soon as this bug is fixed in MacPerl, I am hoping that my web server
will solve the problem of compilation time required for each CGI execution.
However, I am probably dreaming as I am fairly new to the art of web-server
design and I am sure there are lots of issues I have neglected to even
think about...

The server runs on UNIX, and I have reports that it runs on Win 95 & NT as
well.  It can be downloaded at:  http://www.reed.edu/~ckasow/.

-Clay Kasow
ckasow@reed.edu



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch