TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Asynchronous ruby framework for websockets, eventsource and streaming

101 pointsby lifoover 13 years ago

6 comments

lifoover 13 years ago
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.
评论 #2941500 未加载
sshconnectionover 13 years ago
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>
评论 #2942131 未加载
petercooperover 13 years ago
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? :-)
评论 #2941340 未加载
chetan51over 13 years ago
1. Does this work with Rails?<p>2. Generally, the "Hello World" for a real-time framework is a simple chat application.
评论 #2941642 未加载
hamidpaloover 13 years ago
I would <i>really</i> love to see some perf comparisons vs C# or Java.
评论 #2941361 未加载
basculeover 13 years ago
This looks cool, but I wish it were <a href="http://socket.io" rel="nofollow">http://socket.io</a> compatible