Pounding Mongrel Light(tpd)ly
Posted by theBlatherskite Mon, 20 Nov 2006 22:27:00 GMT
As witnessed by my recent(ish) articles on installing and optimizing FreeBSD, I’ve been spending my spare bits of time developing a production server for our internal environment. There’s been quite a push within the rails community away from Apache+FCGI, and when it came time to look at the server application I decided to jump in and see what other options are out there.
My eventual deployment decisions: lighttpd to serve static files, a mongrel cluster taking care of business on the rails side, and the pound load-balancer sitting up front managing customer service (and, for bonus points, reverse-proxing to allow the mongrels to serve content over https).
Note that this is by no means the only possible choice. A little research into what other rubyists have been doing reveals a number of other options that would also be worth exploring (for example, Coda Hale and Jonathan Weiss seem to prefer apache feeding the mongrel pack).
Read more...