I want to use Swiftiply/evented_mongrel with nginx. How do I configure this?
You are really talking about two completely different scenarios there. So let’s start with nginx + evented_mongrel. evented_mongrel runs just like the threaded mongrel does, as a server. The only real difference is that the request handling is all running inside of an event loop. This lets requests be queued up without using any significant resources and lets them get handled with the full resources of a process, without any threading overhead. The benefit of this is greater throughput and much better behavior under heavy loads. Because evented_mongrel looks identical to threaded Mongrel to external systems like nginx, and to your application as well, you don’t have to do anything different with regard to configuration to use evented_mongrel. With nginx, this means that you don’t do anything differently. I’m not going to cover nginx configuration here, as it’s covered in many other places. With mongrel, as of 0.6.0, evented support is a hotpatch on the standard threaded Mongrel. In you