Prev | Current Page 472 | Next

Brad Ediger

"Advanced Rails"

However, this approach has mostly
been superseded by the reverse-proxy/Mongrel method for new deployments.
Lighttpd (http://www.lighttpd.net)
Lighttpd (usually just pronounced ???lighty???) is a powerful, light web server. It
supports reverse proxying and load balancing with the mod_proxy module. It is
one of the preferred front end servers today.
Like Apache, lighttpd can directly serve Rails with FastCGI. This is still not recommended,
as the Mongrel approach is more robust and scalable.
Pen (http://siag.nu/pen/)
Pen is a standalone proxy balancer. It does not serve static files; it only proxies to
a list of servers and balances between them. Pen has SSL-wrapping support.
If high availability is needed, Pen can be clustered using the VRRP protocol for
failover.
Pound (http://www.apsis.ch/pound/)
Pound is another reverse proxy balancer. Like Pen, it can proxy, balance
between servers, and unwrap SSL. It is also not a web server, so you may have to
set up a static file server.
However, Pound has some X-Forwarded-For problems when being used as a
reverse proxy between Apache and Mongrel,* so you should consider Pen instead
for this configuration.
nginx (http://nginx.net)
One of the newest but most promising contenders is nginx (???engine X???). Like
Apache and lighttpd, nginx is a web server with comprehensive load balancing,
rewrite, and proxy features. While the featureset is comparable to Apache, the performance
characteristics and memory footprint are more like lighttpd.


Pages:
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484