Server push for rails? or do I need java?

Hi!

Almost for sure lots of you guys know Comet, also referred to as an
‘server-push technology’.

The moste efficient ‘server push’ solution I know is jetty + nio +
continuations –

unfortunately you must use Java for it!!!!!

Also there is Juggernaut for Rails, but it’s useless for me because of
firewall restrictions (you need at least another port which is not 80,
even
443 is a problem) and Flash Plugin in mandatory.

So, does anybody know if there is an implementation that saves me from
using
Java for the web UI??

Please whine

I am so sick of Java web frameworks… aaargghh

Regards
Peter

Peter E. wrote:

So, does anybody know if there is an implementation that saves me from
using
Java for the web UI??

Look up how GMail’s Chat does it. I have heard they leave the Ajax
socket
open.

BTW if >90% of the installed computers have Flash, what’s wrong with
using
it?


Phlip
Redirecting... ← NOT a blog!!!

On 3/17/07, Phlip [email protected] wrote:

BTW if >90% of the installed computers have Flash, what’s wrong with using
it?

Flash itself is not a problem. But firewall and NAT are two main
problems when using Juggernaut. If somebody can bounce UDP packets
through flash code, the way Skype and gtalk do for punching holes in
firewall, it may as well work. But i don’t think its viable.

On the other hand, on mongrel list, long time back, somebody tried to
implement a basic comet kinda thingy. He reported it sorta worked,
but couple of problems were/are there.

I think basecamp also uses some kinda push to implement chat through
web interface. I am not sure, how they are doing it. Or I am not
even totally sure, if they are pushing the messages to the browser.