On 08 Feb 2011, at 04:45, John Beck wrote:
> I''m thinking of starting on a Ruby website that uses WebSockets,
and
> perhaps working some on a server for it beforehand. Is good support
> for asynchronous connections something I could work on adding to the
> Rails core? Is it feasible? Desired? As I understand it, Rails plugins
> like Juggernaut [1] aren''t going to optimally support async, since
> they can''t re-architecture the way connections are handled. Should
I
> instead use Cramp [2] and incorporate the various features I like from
> Rails into it?
An event driven server such as one running on NodeJS or Cramp is the
way to go imo. You could possibly run an EventMachine loop inside your
Rails app itself, but that comes with it''s own set of challenges. Use
the tools that fit the job, and when you''re talking about async
pushing to and from the client, your messaging server should be
eventdriven.
Best regards
Peter De Berdt
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.