SPDY support in Jetty

SPDY is Google’s protocol that is intended to improve user experience on the web, by reducing the latency of web pages, sometimes up to a factor of 3. Yes, three times faster. How does SPDY accomplish that ? SPDY reduces roundtrips with the server, reduces the HTTP verboseness by compressing Read more

WebSocket over SSL in Jetty

Jetty has always been in the front line on the implementation of the WebSocket Protocol. The CometD project leverages the Jetty WebSocket implementation to its maximum, to achieve great scalability and minimal latencies. Until now, however, support for WebSocket over SSL was lacking in Jetty. In Jetty 7.6.x a redesign Read more

CometD, Dojo and XDomainRequest

The CometD project implements various Comet techniques to implement a web messaging bus. You can find an introduction to CometD here. Web applications often need to access resources residing on different servers, making the request to access those resources a cross origin request and therefore subject to the same origin Read more

CometD and Opera

The Opera browser is working well with the CometD JavaScript library. However, recently a problem was reported by the BlastChat guys: with Opera, long-polling requests were strangely disconnecting and immediately reconnecting. This problem was only happening if the long poll request was held by the CometD server for the whole Read more

CometD 2.4.0 WebSocket Benchmarks

Slightly more than one year has passed since the last CometD 2 benchmarks, and more than three years since the CometD 1 benchmark. During this year we have done a lot of work on CometD, both by adding features and by continuously improving performance and stability to make it faster Read more

CometD 2.4.0.beta1 Released

CometD 2.4.0.beta1 has been released. This is a major release that brings in a few new Java API (see this issue) – client-side channels can now be released to save memory, along with an API deprecation (see this issue) – client-side publish() should not specify the message id. On the Read more

CometD JSON library pluggability

It all started when my colleague Joakim showed me the results of some JSON libraries benchmarks he was doing, which showed Jackson to be the clear winner among many libraries. So I decided that for the upcoming CometD 2.4.0 release it would have been good to make CometD independent of Read more

CometD Message Flow Control with Lazy Channels

In the CometD introduction post, I explained how the CometD project provides a solution for writing low-latency server-side event-driven web applications. Examples of this kind of applications are financial applications that provide stock quote price updates, or online games, or position tracking systems for fast moving objects (think a motorbike Read more