Is it feasible to use curb
in rails for managing and processing a streaming API? I have used it before for a one-time request, but haven't seen any examples of using it in a streaming situation. If it is possible - any thoughts on what the code would look like to get this rolling?
Asked
Active
Viewed 278 times
0

matthewvb
- 932
- 2
- 11
- 21
1 Answers
1
Not sure, if curb is the answer, but you can use EventMachine to consume a streaming API, see example, http://adam.heroku.com/past/2010/3/19/consuming_the_twitter_streaming_api/

Rishav Rastogi
- 15,484
- 3
- 42
- 47
-
Thanks @Rishav. Any thoughts on managing the connection from my app? Like checking for disconnects and such? – matthewvb Jun 13 '12 at 19:57