tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Manolache <cos...@gmail.com>
Subject Re: SPDY support
Date Wed, 22 Feb 2012 18:41:54 GMT
On Wed, Feb 22, 2012 at 10:27 AM, Konstantin Kolinko <knst.kolinko@gmail.com
> wrote:

> 2012/2/22 Costin Manolache <costin@gmail.com>:
> > On Wed, Feb 22, 2012 at 8:57 AM, Mark Thomas <markt@apache.org> wrote:
> >
> >> On 22/02/2012 16:51, Costin Manolache wrote:
> >> > First part submitted. For the second: what is the process for adding a
> >> > dependency ?
> >>
> >> Why do you need the dependency?
> >>
> >
> > Spdy requires header compression - with a pre-defined dictionary (
> > containing header names and common values ). It also requires 'flush' - a
> > single compression context is used for all headers in the stream. AFAIK
> > this is not possible with the jdk compress library.
> >
> > That's one of the ways spdy gets its speed - it is not optional in
> > chrome/firefox.
> >
>
> 1. AJP/1.3 protocol has dictionary for header names.
> 2. In Deflater class explicit flush operation was added in Java 1.7.
>

I think requiring Java1.7 is too much. Most prod servers are on 1.6.

Would making it an 'optional' dependency work ( i.e. skip compiling the
required
classes / use class for name ) ? I can add an option to use 1.7 Deflater if
available.

Costin




> That is without knowing specifics of SPDY protocol. I'll like to hear
> more details.
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message