Long running Threads in Rails and metaprogramming fun
Disclaimer: This post contains evil (but highly fun!) code. Proceed at your own peril…
I was recently designing an application that needed to execute some long running requests against an external host. If you’ve ever tried doing something like this in Rails, you’ll find your mongrels will block up waiting for the request to complete, bringing [...]









