> I could have sworn DHH said he ran a Twisted server daemon
> specifically to handle the long-lived Armageddon threads.

Armageddon uses a separate socket server, so you don't have any
problems with each connection taking up a FCGI process. That would not
be very scalable. Which is the core objection I have against Comet: It
requires you to complete rearchitect your application.

Armageddon works with what already is.


Client A --opens socket to--> Socket Server
Client B --makes xhr call that client A should see--> FCGI --sends
message to--> Socket Server

So the socket server works like a bus. The great thing about this is
that the socket server is stupid simple. It's just a registry, which
allows you to send text to a socket identified by an id.

And since we already have this wonderful system known as RJS, we can
push RJS updates from client B to client A reusing the same templates
as client B used to update himself.

Very dry, very low-overhead, very easy to use and understand.
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www.basecamphq.com   -- Online project management
http://www.backpackit.com   -- Personal information manager
http://www.rubyonrails.com  -- Web-application framework
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to