On Tue, 27 Feb 2007 21:37:29 +0800
"howard chen" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> Thanks for your reply first.
> 
> I understand Apache already support fastcgi, however, phper most
> likely will prefer mod_php, so fastcgi in Apache is not as popular as
> in other http servers.

You have the choice.  If more people use mod_php than fastcgi,
that's because they're choosing it.

> Similarly, later Apache 2.x might officially support event based model
> rather than multi-process one.

Apache 2.2 does, if you want it to.

Since Apache 2.0, we've had the MPM architecture, which means you can
plug in your choice of processing model.  That's also how Apache 2
works cross-platform, rather than being (like Apache 1) a Unix server
ported with lots of compromises in performance/etc to other platforms.

> We know that fastcgi & event based model have some very attractive
> reasons, such as better usage of cpu time, more robust even under high
> loading.

Do we?  Of course you can set up test cases where that applies.
Or the opposite.

> I am not asking whether/when Apache support these functions, I want to
> learn more abt from the Apache httpd developers, their way of thinking
> behind these approaches..why they are not good or not suitable in
> Apache, why?

Apache gives you the choice.  Write a new MPM to drive it as you want.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Reply via email to