On Mon, Mar 19, 2012 at 10:43 AM, Gus Heck <ph...@copyright.com> wrote:

> I just bumped into the whole concept of SPDY this morning, and it sounds
> fabulous, and I'm quite happy to see that it's already underway in trunk.
> I'm quite likely to be using a lot of development using Vaadin framework in
> the near future, which I expect probably stands to benefit significantly
> from SPDY. However, it seems that SPDY support in java is a wee tad
> nascent. As I understand it, there's an issue with oracle JDK support for
> NPN that is forcing tomcat to use APR. I also notice that Jetty has just
> released a version that supports SPDY using the NPN that is apparently in
> OpenJDK 7 already (will it appear in an oracle java update?). Clearly this
> is a key innovation, and it looks like between Apache Hhttpd and
> Chrome/Firefox/Safari, more than 50% of the web will support it on both
> client and server merely by staying up to date with their current software.
>

I have Jetty NPN working with tomcat - so NIO/BIO will also support SPDY.
You will have to download/install the jetty implementation of npn jar
yourself until it's merged into JDK7, don't know what are their plans.

The APR seems faster - but not by a huge margin, I haven't tested the
limits yet ( I want to find out what's the max number of kept-alive spdy
connections - need more machines because of the 64k limit on local ports).



> My question is this: will SPDY support be released in some form before
> Tomcat 8 (in who's branch it seems to currently live)? JSR 340 (servlet
> 3.1) seems to be targeting Q3 2012 and I would presume that that means
> tomcat 8 is no sooner than Q3 or Q4 - 2012. Seems a shame to make this wait
> until that time (assuming it's anywhere near ready).
>

I have a patch for tomcat7 to add only the NPN hooks - it's pretty small
and clean, I'll get a discussion started, but it should be possible.

Then it's up to tomcat-dev on whether to backport the spdy packages, or
have tomcat7 download the spdy jars separately ( i.e. release them as a
'plugin' / add-on ).

It'll take a bit of time until it's done - not easy to find free time to
work on this.

Costin


>
> -Gus
>

Reply via email to