Category Archives: General

NoSql Sessions with Jetty7 and Jetty8

When Jetty 7.5.0 is released we will have officially started to dabble in the area of distributed session handling and storage. To start this out we have created a set of abstract classes around the general concept of NoSQL support, and have prepared an initial implementation using MongoDB. We will also be working on Ehcache and perhaps Cassandra implementations over … Continue reading

Posted in General, HTTP, Jetty, Servlets | Tagged , , | 5 Comments

Websocket Example: Server, Client and LoadTest

The websocket protocol specification is approaching final and the Jetty implementation and API have been tracking the draft and is ready when the spec and browsers are available.   More over, Jetty release 7.5.0 now includes a capable websocket java client that can be used for non browser applications or load testing. It is fully asynchronous and can create thousands … Continue reading

Posted in Ajax Comet, General, HTTP, Java, Jetty, Servlets, WebSockets | Tagged , , , , | 14 Comments

Cometd-2 Throughput vs Latency

With the imminent release of cometd-2.0.0, it’s time to publish some of our own lies, damned lies and benchmarks. It has be over 2 years since we published the 20,000 reasons that cometd scales and in that time we have completely reworked both the client side and server side of cometd, plus we have moved to Jetty 7.1.4 from eclipse … Continue reading

Posted in General | 2 Comments

Lies, Damned Lies and Benchmarks

Benchmarks like statistics can be incredibly misleading in ways that are only obvious with detailed analysis. Recently the apache HTTPCore project released some benchmark results whose headline results read as: Jetty HttpCore Linux BIO 35,342 56,185 Linux NIO 1,873 25,970 Windows BIO 31,641 29,438 Windows NIO 6,045 13,076 Looking at these results, you see that HttpCore has better throughput in … Continue reading

Posted in General, Java, Jetty, Servlets | 8 Comments

Websocket Chat

The websocket protocol has been touted as a great leap forward for bidirectional web applications like chat, promising a new era of simple comet applications. Unfortunately there is no such thing as a silver bullet and this blog will walk through a simple chat room to see where websocket does and does not help with comet applications. In a websocket … Continue reading

Posted in General | 7 Comments

Websockets – IETF v WHATWG?

There is a jurisdictional issue brewing over the future of internet standards – I know because I’m stirring the pot.  The dispute is between the WHATWG and the IETF regarding the specification process for the websocket protocol (which I have some concerns about, but none the less is supported by Jetty). The IETF is the body that has been responsible … Continue reading

Posted in General | 18 Comments

Google Just Doesn’t Understand Community

We’ve said it before (Bad Robot!), but after the Android 2.0/Nexus One developments, it really bears repeating: Google either do not understand or do not care about community once their immediate corporate goals have been met. In the Bad Robot! blog, Greg commented on the disparity between Google’s talk of Android’s openness and their provision of early candidates of the … Continue reading

Posted in General | 5 Comments

Jetty WebSocket Server

Jetty-7.0.1 has been extended with a WebSocket server implementation based on the same scalable asynchronous IO infrastructure of Jetty and integrated into the Jetty Servlet container. WebSocket came out of work on HTML5 by the  What Working Group to specify a mechanism to allow two way communications to a browsers.  It is currently being standardized at the W3C for the … Continue reading

Posted in General | 22 Comments

How to improve Websocket

Background The W3C has developed the Websocket API proposal for HTML5, that enables web pages to perform two-way communication with a remote host. There is also a proposed  IETF draft websocket protocol to transport the websocket messages.   I believe that there are significant deficiencies in the proposed websocket protocol and this paper looks at how they can be rectified. … Continue reading

Posted in General | 8 Comments

Urbanization in the noosphere – Intalio acquires Webtide

In his Homesteading in the Noosphere essay, Eric S. Raymond likened the creation of open source projects to homesteading on a frontier, via a process of  “mixing one’s labor with the unowned land, fencing it, and defending one’s title”,  in contrast to the lawful transfer of title that occurs in settled areas.  While the lands of the web servers still … Continue reading

Posted in General | 4 Comments