So someone finally named server-push through HTTP-keepalive "Comet" It''s also been implemented in a very nice Java/Javascript library called DWR. http://ajaxian.com/archives/dwr-20-reverse-ajax Has there been any discussion by "the core" about adding this to Rails 1.2? :) -- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060414/fe884ccc/attachment.html
*Crickets* On 4/13/06, subimage interactive <subimage@gmail.com> wrote:> > So someone finally named server-push through HTTP-keepalive "Comet" > > It''s also been implemented in a very nice Java/Javascript library called > DWR. > > http://ajaxian.com/archives/dwr-20-reverse-ajax > > Has there been any discussion by "the core" about adding this to Rails 1.2? > :) > > -- > seth at subimage interactive > http://www.subimage.com/sublog/ >-- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060414/1d2da870/attachment.html
I saw Alex Russell from Dojo give a presentation at Emerging Tech on Comet. It''s interesting, but there are solid technical reasons why Comet will not become part of the rails core. In order for Comet to work, you require some very specific configuration hacks at the webserver level. It''s certainly not going to happen on Windows any time soon. The goal of Rails is to give most people what they need most of the time. Most Rails developers do not need server push, and so it will not be in Rails. If you need server push in Rails, write a plugin! Now, that said, what was demonstrated by David at CoR was a great hack he called Armageddon. Using a 1kb, 1x1 pixel flash movie that opens a listener socket and registers with the server, it was possible to easily implement a push-type system. It''s pre-alpha and not yet under actual serious development, but David had a Rails helper set up for it, so perhaps expect a plugin in a few months. Really cool stuff there. ----- Original Message ----- From: subimage interactive To: rails Sent: Friday, April 14, 2006 12:33 AM Subject: [Rails] Support for Comet? So someone finally named server-push through HTTP-keepalive "Comet" It''s also been implemented in a very nice Java/Javascript library called DWR. http://ajaxian.com/archives/dwr-20-reverse-ajax Has there been any discussion by "the core" about adding this to Rails 1.2? :) -- seth at subimage interactive http://www.subimage.com/sublog/ ------------------------------------------------------------------------------ _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060415/6695e595/attachment.html
On Apr 15, 2006, at 11:59 AM, Pete Forde wrote:> The goal of Rails is to give most people what > they need most of the time.It''s been very specifically stated that the goal of Rails is give David what he wants. :-) That''s the whole point of opinionated software! The good thing for the rest of us is that: 1) The Rail core team accepts patches (if they like them) thereby giving us a way to get what we want (sometimes) 2) We want what he wants Speaking for myself only, of course. :-) -- -- Tom Mornini
Now that sounds really interesting...Does the project have a home page or anything? On 4/15/06, Pete Forde <pete@unspace.ca> wrote:> > I saw Alex Russell from Dojo give a presentation at Emerging Tech on Comet. > It''s interesting, but there are solid technical reasons why Comet will not > become part of the rails core. In order for Comet to work, you require > some very specific configuration hacks at the webserver level. It''s > certainly not going to happen on Windows any time soon. > > The goal of Rails is to give most people what they need most of the time. > Most Rails developers do not need server push, and so it will not be in > Rails. If you need server push in Rails, write a plugin! > > Now, that said, what was demonstrated by David at CoR was a great hack he > called Armageddon. Using a 1kb, 1x1 pixel flash movie that opens a listener > socket and registers with the server, it was possible to easily implement a > push-type system. It''s pre-alpha and not yet under actual serious > development, but David had a Rails helper set up for it, so perhaps expect a > plugin in a few months. Really cool stuff there. > > ----- Original Message ----- > *From:* subimage interactive <subimage@gmail.com> > *To:* rails <rails@lists.rubyonrails.org> > *Sent:* Friday, April 14, 2006 12:33 AM > *Subject:* [Rails] Support for Comet? > > So someone finally named server-push through HTTP-keepalive "Comet" > > It''s also been implemented in a very nice Java/Javascript library called > DWR. > > http://ajaxian.com/archives/dwr-20-reverse-ajax > > Has there been any discussion by "the core" about adding this to Rails 1.2? > :) > > -- > seth at subimage interactive > http://www.subimage.com/sublog/ > > ------------------------------ > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060416/e2baf989/attachment.html
> Now, that said, what was demonstrated by David at CoR was a great hack > he called Armageddon. Using a 1kb, 1x1 pixel flash movie that opens a > listener socket and registers with the server, it was possible to easily > implement a push-type system.with the amount of NAT and proxying out there, this would not work in a lot of situations, plus it requires flash. theres no reason you can''t leave the clients normal xhr open for longer periods of time, restarting it as needed via a javascript watchdog.. anyways if campfire didnt need an overhaul of the HTTP protocol and firewalls worldwide, why should you? if you need to stream push-style data to thousands of clients at once, and are finding the ''shared nothing'' approach is gobbling your server''s RAM alive, check out lightstreamer, its been designed from the ground up for this purpose -- Posted via http://www.ruby-forum.com/.
subimage interactive wrote:> So someone finally named server-push through HTTP-keepalive "Comet" > > It''s also been implemented in a very nice Java/Javascript library called > DWR.i promise i''ll stop promoting proprietary software after this, but check this out tho: an full featured streaming-data AJAX framework, with full-on windowed graphical IDE/GUI-builder, running in a webpage, written in itself: http://weblog.infoworld.com/udell/gems/tibco.html> Has there been any discussion by "the core" about adding this to Rails > 1.2? > :)do you have numbers for the kind of load generated by a ''frequent small requests'' RJS application? what youre requesting is really a rewrite of a lot of things, including a the webserver, to implement a ''shared everything'' approach, with a server maintaining a observer/observable model, doing a single data query and ferrying the results to all the subscribers.. im sure zed Shaw would love to implement it if you haev a real project and are willing to paypal him lots of Chimay money -- Posted via http://www.ruby-forum.com/.
> > Has there been any discussion by "the core" about adding this to Rails > > 1.2? > > :)David showed off an Armageddon project at Canada on Rails. I believe it''s only going to be a plugin though, and not part of core. I don''t believe it counts as what "most people need most of the time." -- Rick Olson http://techno-weenie.net