Friday, July 14th, 2006

Cometd: Bringing Comet to the Masses

Category: Comet, Framework

As was briefly mentioned in this previous post, there’s a framework in development for those users out there looking to the skies and wanting to use Comet – Cometd.

Cometd is a scalable HTTP-based event routing bus that uses a push technology pattern known as Comet.

The framework, previously named “ShortBus,” is a collaboration between Teknikill Software and Shadowcat Systems to provide a simple, light-weight method for users to easy integrate Comet technology into their applications. The site’s a little light on the information (and documentation), but there are some slides/images to help clear things up a bit:

You can also check out the Cometd Development Group and Users Group over on Google.

Posted by Chris Cornutt at 7:06 am
12 Comments

+++--
3.8 rating from 41 votes

12 Comments »

Comments feed TrackBack URI

There’s been an Apache licensed open source Comet server based on Apache ActiveMQ and Jetty available for a year or two now…

http://incubator.apache.org/activemq/ajax.html

Comment by James Strachan — July 14, 2006

Heh, that’s funny. When someone asked me how to do something like it in java I told them to go look at activemq and investigate creating some kind of broker bridge. Cool.

Comment by Jesse Kuhnert — July 14, 2006

James,

As much as I respect all the hard work that’s gone into the ActiveMQ implementation, the wire format is opaque (and not a standard), and getting ActiveMQ to run (let alone get configured correctly) requires some sort of voodoo that’s beyond the reach of most people I’ve talked to.

The hope w/ Cometd is that we’ll have a specified wire format (in JSON) which any server and client can implement…including ActiveMQ. I don’t have an ETA for that spec, but it shouldn’t be long.

Regards

Comment by Alex Russell — July 15, 2006

what …cometd? what a crap! you have’nt invented nothing. it’s just…crap! one firewall/proxy and your comet is gone…no thanks….HTTPstream is crap since YEARS!!! socketeating…and…crap!

Comment by egon olsen — July 16, 2006

Hi Egon,

So not being network n00bs, we do understand the deployment constraints that intermediate hops and proxies (including firewalls and IDSes that don’t scale well) will present. For users behind these systems, cometd should look and behave *exactly* like the current polling solutions. This kind of graceful degradation isn’t a failing…it’s a key feature of any well-behaved comet server.

Regards

Comment by Alex Russell — July 16, 2006

[…] Thanks to a premature Ajaxian mention there’s some real wind in the sails of Cometd, a this primordial little Comet server and protocol project. The goal of the project is to produce a content-level protocol for publish/subscribe event notification down to browsers. We need a name for the protocol (as distinct from the code), so if you have ideas, we’re all ears. […]

Pingback by Continuing Intermittent Incoherency » Finding “The Wall” — July 19, 2006

Cometd looks great. I’ve been using Pushlets for a while now, and while they are good. I’m finding the “just dont cut the mustard” when it comes to multi topic multi client implementations*.

I see there is some comet code checked in, and a blog for cometd.
Just need a working example & I can look at moving my project over to it.

*This could be due my lack of knowledge and user group that isn’t that active.

Regards

Comment by jeff porter — July 20, 2006

We’ve redesigned the cometd site.

Also, the user list isn’t that active right now, but the dev list is.

BTW, we’re going to have a meetup at OSCON, see the dev and user lists for details.

Comment by David Davis — July 21, 2006

If you’re interested in scalable back-ends for low-latency web applications, you really should check out rphd, the Ajax/Comet Request Router.

Comment by Aminorex — October 29, 2006

Mr Alex, i want to have a tutorial to use a comet Tech to use it in my application.

Comment by issam chouchane — March 26, 2007

I released the first version of my pure php-comet-server. made it gpl and available on http://sourceforge.net/projects/comet/
There are two examples on how to use it. It’s stable but still in alpha-state because of very few functionality. In near feature I will publish a new release using known ajax-frameworks to communicate with the page.
Regards, Aresch

Comment by Aresch Yavari — July 7, 2007

Is there a working version of this? I’ve browsed the site and couldn’t find a way to download the software…
Do I need to check out the project from SVN and build it???

Comment by Julio — October 4, 2007

Leave a comment

You must be logged in to post a comment.