This is not an issue with Nginx, and I’d wager that it’s not an issue with Lighttpd either, though I’ll freely admit that I haven’t used Lighttpd in years
Nginx will actually buffer the request and only send it to PHP once it’s complete, it will also buffer the PHP response and send it to the user. So essentially the PHP process is not busy while the client is sending the request and it’s not busy while nginx is sending response to client.
I’m constantly amazed at how many people still use Apache by itself, it’s absolutely horrible for performance. You can just look at the low orbit ion cannon tool the chans like to use to bring down sites, it’s incredibly crude but it works so well because sites using Apache cannot handle any kind of traffic before it craps itself.
Do yourself a favour and use Nginx, we have some very nice people in #nginx on freenode who are usually ready to answer questions and the wiki is not actually half bad. It’ll be your best decision this month.
Apache är med rätta en populär webbserver – den har många kvaliteter, men skalbarhet och snabbhet är tyvärr inte en av dom. För att visa på sårbarheten i kombon Apache och PHP så skapade Evert på Rooftopsolutions verktyget slowdeath: ett pythonskript som sänker de flesta phpbaserade webbservrar.
{ 0 kommentarer }

