Chapter 9 BackgrounDRb

I started developing Ruby on Rails apps in late 2005. Rails was still pre-1.0 and had a lot of rough edges. One of those edges was the fact that it was single-threaded. I was willing to look past that minor limitation, at least for a little while, because I had just come from writing these enormous Java/JSP/Struts apps. Writing applications with Rails, even with its flaws, was like coding heaven compared to the Java world I had just come from. I assumed (and you know what happens when you do that) the ability to run Rails in a multithreaded environment would come with the 1.0 release.

Well, the 1.0 release came and went with no multithreaded support. This single-threaded limitation was really starting to become a problem—not ...

Get Distributed Programming with Ruby now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.