Forum: Ruby on Rails Socket polling and messaging

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Thibaut Barrère (Guest)
on 2006-05-05 11:30
(Received via mailing list)

I have a legacy service sending data (well, messages to be delivered to
client) through a TCP socket. I need to deliver those messages to the
browser, likely through periodical ajax updates (I'll adapt the
between visual comfort and server load).

I'd be interested to hear from people who have implemented something

I have various roads in minds, like:
- a stateful ruby app doing the polling, and exposing data through dRB
- same app, but storing the messages in a database queue (AR)
- yet same app, but relying on ruby spread or another messaging system
have the messages delivered

(btw, did you notice I didn't even mention the word 'container' ? :-)

What do you think ?

This topic is locked and can not be replied to.