Forum: Ruby on Rails Socket polling and messaging

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

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

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

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
to
have the messages delivered

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

What do you think ?

Thibaut
This topic is locked and can not be replied to.