All modern OSes offer alternative
Posted Jun 25, 2009 4:45 UTC (Thu) by
khim (subscriber, #9252)
In reply to:
All modern OSes offer alternative by quotemstr
Parent article:
Apache attacked by a "slow loris"
Why do you need an entirely new web server?
Because
you need solutions, not a buzzwords? I've explained why you need two
servers
below. Without "real"
web server you can serve static pages (icons, images, etc) via
sendfile(2) - and this is important for real-world
servers.
Couldn't
you do the same thing with a caching reverse proxy like
Varnish?
You can name your frontend server "web server", "web
accelerator" or use any other term, but if your frontend is "heavily
threaded, with each client connection being handled by a separate worker
thread" then you just added complexity without any benefits. What'll happen
with your frontend if you'll have 50'000 clients with opened connections?
Nginx can handle such load on medium-sized system.
That way, you
only need to configure one set of servers.
You still need to
configure server. Nginx was designed from the ground up to do two things
and do them well:
1. Serve static pages.
2. Work as http-accelerator.
(
Log in to post comments)