gregw

Wednesday Jul 01, 2009

Bidirectional Web Transfer Protocol - BWTP

I really like the idea behind the HTML5 Websocket API - namely that a datagram model should be used for web application communication rather than a request/response paradigm (this is also the idea behind cometd).  But unfortunately, the proposed protocol to carry websocket traffic is neither a good protocol nor is it well specified.[Read More]

Wednesday Mar 11, 2009

Cometd Acknowledged Message Extension

With the release of the latest cometd-jetty in Jetty 6.1.15, the oft requested feature of reliable message delivery is now supported by the Acknowledged Message Extension in the jetty server and in the dojo and jquery clients... ... provide an acknowledged message mechanism for reliable message delivery.[Read More]

Thursday Jul 10, 2008

Dojo Toolkit Maven Repository

Using  maven to build your project is a fantastic for managing your dependencies and avoiding having dependencies (and their dependencies) checked into your own svn.  The only fly in the ointment, is projects that don't publish maven artifacts, and the Ajax dojo toolkit has been one of these. Until now that is!
[Read More]

Friday Apr 11, 2008

Jetty Improves in Netcraft survey (again)

As with most open source projects, it's very hard to get a measure of who/how/where/why Jetty is being used a deployed.  Downloads long ago became meaningless with the advent of many available bundling and distribution channels.   The Netcraft Web Survey is one good measure, as it scans the internet and identifies which server sites run. In the results released April 2008, Jetty is identified for 278,501 public server, which is 80% of the market share of our closest "competitor" tomcat. If we exclude unknowns and others catagory, Jetty is currently 12th in the league table of identified servers of all types and closing in on a top 10 ranking .
[Read More]

Monday Jan 07, 2008

20,000 reasons why Jetty scales

I have published a comet Daily article that describes how I have benchmarked Jetty's Cometd implementationof dojox Bayeux protocol to 20,000 simultaneous clients.  This blog looks at the same results from a more Jetty centric view point.[Read More]

Thursday Nov 22, 2007

Asynchronous IO is hard!

The tomcat 6 developers have proposed an asynchronous IO extension as their solution for Comet and Ajax push.  I have long argued that asynchronous handling is needed for Servlets (for comet and other use-cases), but that it is very important to make the distinction between asynchronous IO and asynchronous handling of requests. Asynchronous programming is hard and asynchronous IO even harder.  I maintain that asynchronous IO should be implemented by the container and that only asynchronous events should be delivered to an asynchronous servlet. As if to illustrate my point,the example code that tomcat provide for their asynchronous IO contains some classic bugs and inefficiencies that I examine here as they well illustrate why we should be making all efforts possible to encapsulate asynchronous IO below the level of the servlet API.
[Read More]

Monday Sep 24, 2007

Rockstar or Not?

So you're in a session at AjaxWorld and it's not rocking your world!  Want to know where the real rockstars are talking? Want to know what sessions are going off?  Then tune into
Rocks Or Not and rate sessions in real time and see what others think of the other session live.[Read More]

Wednesday May 09, 2007

Servlets 3.0

I'm just fresh out of a session at JavaOne where Sun have revealed their road map for the servlet 3.0 specification. My initial reaction is that it contains both some good and bad items as well as quite a few concerns in between. The 10 words or less version is: Annotations, JSF, Ajax, Comet, REST, scripts, security and Misc.[Read More]

Monday Feb 19, 2007

Clustering cometd with Terracotta.

I recently attended a Torino JUG meeting and saw Jonas Bonér speak about transparent clustering with Terracotta. It was an interesting talk and went a long way to alleviating the concerns I have with the star architecture of terracotta. Thus I wanted to try out a terracotta cluster, but I thought that simply clustering HTTP session in jetty was a bit obvious, easy and above all boring. So instead I used terracotta to cluster the jetty implementation of cometd.[Read More]

Friday Dec 08, 2006

Gaming with GWT and Jetty continuations

The Google Widget Toolkit allows Ajax applications to be developed in java code using the traditional UI widget paradigm. The toolkit includes support for RPC, but not for comet style Ajax push. I've been working with Ryan Dewsbury of www.aplayr.com to convert their GWT powered games of risk and pocker to use Jetty continuations. First... play a lot of poker![Read More]

Wednesday Oct 18, 2006

XmlHttpRequest BAD - Messaging GOOD

XmlHTTPRequest is the wrong API on which to base Ajax communications. A messaging paradigm is needed within our Ajax libraries and support is needed in the browser.[Read More]

Wednesday Jul 26, 2006

Async Servlets - take II

I have reconsidered the API for asynchronous servlets that I proposed in my recent blog - it is not good!. It makes some of the same mistakes as weblogic and tomcat have made with their asynchronous extensions. So let's have a brief review of all the available and proposed solutions...

[Read More]

Webtide

Calendar

Tags

Search

Links

Navigation