Re: better than apache?
| From: | Michael Kimsal | Date: | Thu, 23 Nov 2000 21:34:55 +0000 |
| Subject: | Re: better than apache? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26867@lists.php.net to get a copy of this message | ||
We tried AOLServer here internally. I may not have it configured right, but
it was *slower* than apache doing PHP stuff. I didn't even try the TCL stuff.
Apache was nearly twice as fast serving up a simple 'hello world'. A
reported AOLServer benefit is connection pooling, but it *seems*
that's only using TCL and specific databases (need special pooling drivers
for the db, and they're not written for all databases - I think there were
3 or 4).
These are just observations after playing around with it (took
awhile to get it running with PHP4 until we read the README!)
I could have AOLServer set up completely wrong - I dunno. There's
not much documentation *aimed at people who haven't used it before*.
There's even less documentation about how to configure and optimize
it to use PHP. The prevailing attitude on their mailing list (in the
archives) is "TCL rules. AOLServer rules. Everyone is playing catch-up
and you're a loser if you use anything but TCL/AOLServer."
I thought PHP/Apache/Linux was a niche market! The only thing 'going'
for it, imo, is that it's threaded instead of preforked, and supposedly
more scaleable. But that wasn't my experience on a single Celeron 300 mhz
with 64 megs. The AOLServer lists will talk about how AOL runs with it,
and other large sites, but they don't mention what kind of hardware.
*Anything* can run reasonably well with a server farm of big-ass
machines. Even NT/ASP. :)
Bottom line - get it, test it, benchmark it for yourself. If anyone
thinks I may have missed a step getting PHP on AOLServer running that
would cause it to go slower than Apache, please let me know. - Heck,
let the list know. It should be public knowledge, and I'd love to see something
faster and more scaleable that can utilize PHP.
Giovanni Tummarello wrote:
> Hello people.. i recently got fedup with the apache webserver for the
> preforking model (spawning a separate server to handle extra requests) which in
> my opinion wastes an unparalleled quantity of resources (memory to begin
> with..) in certain situation (scripts that need peeks of memory at times see
> recent thread with title "Huge memory leak") .. so i am looking for
> alternatives that will allow me to handle busy production servers with a
> moderate (as in right) hardware expense.
>
> Looking around i have found AOLserver which is free, multithreaded(should
> handle much better the memory problems i was mentioning, should have much
> better overall performances), certainly tested (busiest web sites in the
> world?) and claims to work fine with PHP.
>
> Anyone here uses it or has interesting comments about why one should (or should
> not ) consider doing away with apache?
>
> If i ever switch i know i am going to miss mod_rewrite :)
>
> thanks in advance for any comment.
> Giovanni Tummarello
> tummarel@ascu.unian.it
>
> Fight Spam! Join CAUCE (Coalition Against Unsolicited Commercial Email)
> at http://www.cauce.org/ and tell your Congresspeople
> how Spam mailings
> hurt you. Help protect genuine Internet commerce: Outlaw UCE Spamming.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
==========================
Michael Kimsal
http://www.tapinternet.com
PHP Training courses
http://www.tapinternet.com/php