Re:Mongrel2: State Machines, HTTP-0MQ, Events
by megaman821 on Tuesday July 06, 2010 @11:38PM
(#1493238)
Currently I have one server running haproxy, which distributes requests to three servers running nginx (which serves static content) and proxies application requests to apache/mod_wsgi. How would Mongrel2 simplify this?
[ Parent
| on HN ]
Re:Mongrel2: State Machines, HTTP-0MQ, Events
by zedshaw on Wednesday July 07, 2010 @12:47AM
(#1493345)
Well, knowing haproxy user, it is embed into your infrastructure like a tick, so it probably wouldn't help you. My experience has been, if it ain't broke don't fix it.
But, if I were to do an alternative, I'd basically ditch haproxy and nginx and just have Mongrel2 talking 0MQ or HTTP to arbitrary backends directly, rather than through multiple layers. With 0MQ you don't have a single point of failure by design, so you could (theoretically) run tons of Mongrel2 servers in front and have them talk to big clusters of 0MQ in back.
That's the goal anyway.