Cramp (GitHub repo)is a new, asychronous evented Web app framework by Pratik Naik of 37signals (and the Rails core team). It’s built around Ruby’s EventMachine library and was designed to use event-driven I/O throughout – making it ideal for situations where you need to handle a large number of open connections (such as Comet systems or streaming APIs.)
Out of the box, Cramp relies on Rails 3.0-pre’s ActiveSupport and ActiveModel libraries (and won’t work with earlier versions). Using these, it presents you with two layers to develop: controllers and models. Cramp controllers are ostensibly Rack compliant (Rack was designed primarily for synchronous scenarios) but Thin is currently the only HTTP daemon that can run Cramp apps due to its asynchronous app support. Read More