4 ms·
Currently I have one server running haproxy, which distributes requests to three servers running nginx (which serves static content) and proxies application req
by megaman821 16y ago
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?
- zedshaw 16y agoWell, 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.