Topic: Comet in the real world? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=29936" title="Pages that link to Topic: Comet in the real world? (Page 1 of 1)" rel="nofollow" >Topic: Comet in the real world? <span class="small">(Page 1 of 1)</span>\

 
argo navis
Paranoid (IV) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 01-29-2008 16:47

Hello all. I see the benefits of comet - in theory. I see the approach requires a dedicated threading model
on the server end - and lowers performances on the server side.

That's quite a high price to pay for a set of tricks that I have yet to see correctly applied.

Hence the question : anyone has a comet link likely to impress me at hands?

Arthurio
Paranoid (IV) Inmate

From: cell 3736
Insane since: Jul 2003

posted posted 01-29-2008 17:03

I'm not saying I have anything but what are you looking for? What kind of application would impress you?

It's just that I'm not too sure how exciting you can make data streaming The impressive bit would probably be the quite irrelevant representation layer.

Blaise
Paranoid (IV) Inmate

From: London
Insane since: Jun 2003

posted posted 01-29-2008 17:07

I'm not sure about Comet, it seems like another new name for something that has existed for years.

Please correct if I'm wrong (I probably am) but Comet just seems to me to be AJAX but with a timer set on the server side to push data to the client, now surely AJAX is still used here to check for changes in the data source, so this has been around for years hasn't it...

As far as examples to show I can't think of one, I assume in-browser chat clients would work well like Meebo, but they rely on having one connection open per client so you'll need the hardware to handle such a service. It all seems pretty niche to me.

argo navis
Paranoid (IV) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 01-29-2008 17:38

Yeah, my feelings exactly : I understand it allows direct event handling from the client to the server,
and is an interesting "track", I see potential applications, but that's it - the examples I have seen are terrible.

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 01-30-2008 19:25

Comet daily has articles and resources about Comet.

Server Sent Event are sub optimal ( only one type of event, only plain text payload ) but they work well enough. Comet allows for very low latency response and voids the need for blind polling. The drawback being that it's difficult to put in place on a shared host. But if you can keep threads running on the server, using Python, Java, Pike, Erlang ... it works a great deal.

Comet is basically a requirement for any kind of chat application or semi-realtime multi-user application ( games anyone ).



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu