There are no such mpm and there will never be such an mpm
Posted Jun 25, 2009 4:33 UTC (Thu) by
khim (subscriber, #9252)
In reply to:
Apache attacked by a "slow loris" by bangert
Parent article:
Apache attacked by a "slow loris"
does someone know of an mpm, which implements IIS's
behavior?
This is huge design question: do you want extesibility in your web
server or not? Suppose someone went and implemeted such an mpm. Then you
server got state machine and everything. Now - what'll happen if single
thread is hadnling 1000 clients in your server and this thread called php
interpreter? 1000 angry clients, that what (think about it).
To make such scheme usable you need to split web-server in two:
lighweight frontend (with state machine, fancy kernel interface and
everything) and backend (with php, mysql connections and so on). And guess
what: such scheme is implemented and as last survey shows it is used by millions. The fact that
frontend is called nginx and not "apache enhanced engine accelerator" does
not change anything.
(
Log in to post comments)