Skip to content

Comment on Building Streaming REST APIs with Ruby

Comments

I would suggest anyone implementing this take a look at faye-websocket. It was recently extracted from a production-quality project named Faye, which uses a pub-sub broadcast model based on bayeux. The websocket implementation has numerous fallbacks, and is well-tested. I'm using it in production currently.

https://github.com/faye/faye-websocket-ruby

faye-websocket-ruby's a great project. rack-stream actually uses it to detect websocket and eventsource requests, and stream back on those protocols.

I had no idea. Cool.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.