NeverBlock: Instant Scaling For Your Rails Apps
Today marks a milestone in the short history of NeverBlock. We have pushed a new release with lots of new features, mainly:
- NeverBlock now supports Ruby1.8.
- NeverBlock support for Thin and Mongrel servers.
- NeverBlock now supports Ruby on Rails.
Let's iterate over the above points and explain them in more detail.
NeverBlock Now Supports Ruby 1.8
Utilizing Aman Gupta's Poor Man's Fibers we were able to add Ruby 1.8 support to NeverBlock. Thankfully this does not mean that applications written for NeverBlock now require full thread safety. Aman's implementation makes sure one thread is scheduled at a time. The fibers don't fight for CPU time so the solution is free of race conditions. The performance penalty is not very big and we were able to extract some very good figures during lab testing.
