Hi Harish
Not sure if you came across this Rails + Mongrel only solution for
Comet.
http://adam.blogs.bitscribe.net/2007/05/08/comet-with-rails-mongrel/
Cheers.
On Dec 6, 11:08 pm, "Harish Mallipeddi" <
harish.mallipe...@gmail.com>
wrote:
> Well there's nothing wrong with that approach and this is what I ended up
> doing at my previous company - building an external Python web server but of
> course I didn't go ahead and implement a full-scale protocol :) I was just
> being curious as to how you would keep a connection alive from inside a
> Rails/Django view.
>
> Btw Bayeux is the protocol, cometd is the framework. The project is
> supported by Dojo Foundation which explains why Dojo has in-built support
> for it. More info:
http://cometd.com/. If you think about it, this is
> basically an event/messaging server (sorta like running Jabber) except it
> uses JSON for encapsulating data and it understands the browser quirks that
> it has to get around in order to keep the connection persistent.
>
> Cheers,
> Harish
>
> On Dec 6, 2007 11:11 AM, choonkeat <
choonk...@gmail.com> wrote:
>
>
>
> > I haven't looked at the implementations, but regarding the "external comet
> > server" architecture, the only downside seems to be deployment complexity,
> > imho. And you only need to get that right once. Or perhaps I'm missing your
> > concern
>
> > The upside however, is that your architecture is straight-forward to
> > understand, and development model is simple - as in, you keep close to
> > out-of-the box Rails / Django without relying on too much hack.
>
> > Btw this post abt Bayeux <
http://r9.sharedcopy.com/1d4qo1#shcp1> seems
> > interesting.
>
> > Cheers
> > --
> > choonkeat
>
> > On Dec 6, 2007 10:06 AM, Harish Mallipeddi <
harish.mallipe...@gmail.com>
> > wrote:
>
> > > Thanks Jason and Deepak for your replies.
>
> > > But in all these cases, they seem to be using an external comet (or
> > > push) server instead of using Rails/Django as-is.
>