Cramp is a fully asynchronous web framework that's very good at dealing with thousands of open connections. It supports WebSockets (latest protocol) and Server-sent Events out of the box. Optionally, supports using Ruby 1.9 fibers to prevent spaghetti evented code - which means seamless Active Record integration.
Goliath has a websockets branch and also supports eventsource and streaming pretty easily. If it's something you need, definitely look into Goliath as well.<p><a href="http://www.igvita.com/2011/08/26/server-sent-event-notifications-with-html5/" rel="nofollow">http://www.igvita.com/2011/08/26/server-sent-event-notificat...</a>
<a href="https://github.com/postrank-labs/goliath/tree/websockets" rel="nofollow">https://github.com/postrank-labs/goliath/tree/websockets</a>
HN meta point here. This link was posted 18 days ago too, but with a forward slash at the end: <a href="http://news.ycombinator.com/item?id=2874982" rel="nofollow">http://news.ycombinator.com/item?id=2874982</a> (nonetheless it gets an upvote again for being cool). Potential fix/update for news.arc on this issue or just a useful trick to let slide? :-)