On Wed, Sep 8, 2010 at 10:05 PM, Jordan Schatz <[email protected]> wrote:
> Somewhat unrelated, but there are some experimental web servers with
> better thread designs that are REALLY fast:
> http://john.freml.in/teepeedee2-c10k
> I was hoping that fastCGI might make better use of threading and get me a
> times performance gain : )

I just have to jump in here.  Apache does have a good threading
design, and has so for many years.  Unfortunately, most installations
of PHP re-configure Apache to use the older non-threaded prefork
multi-processing module.  This is due to some PHP extensions not being
thread-safe.  A long time ago PHP itself was not thread-safe and was a
major cause for the prefork choice.

However now it's only a some PHP extensions that are still not
thread-safe.  This is why the worker multi-processing module is still
not recommended.  But when you control the application, you can do
some research on your PHP extensions to determine their viability with
the worker MPM.  It could give you an impressive speed increase.

--lonnie

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to