Garbage collection outside of request cycle?

Luke Melia luke at
Thu May 6 16:29:40 EDT 2010

I've been analyzing our Unicorn-powered Rails app's performance, and have found that garbage collection is a big factor in slow requests.

In the interest of avoiding those performance hits while handling requests, would it be possible to have a unicorn worker run garbage collection after handling a request and before waiting for the next one? Would this be a good idea?


More information about the mongrel-unicorn mailing list