users@grizzly.java.net

Re: Performance Settings

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Tue, 27 Nov 2007 18:13:40 +0100

>>> Nothing to configure by default. Grizzly will do it for you :-)
>
> mmm, i hate to disagree, but if i telnet to Grizzly and ask it for
> content:
>
>
> GET /c/2/f/23/index.rss HTTP/1.1
> host: 127.0.0.1
> Accept-Encoding: compress;q=0.5, gzip;q=1.0
>
> HTTP/1.1 200 OK
> Set-Cookie: MF2=utmcr1xaw84x; Max-Age="63072000"; Path="/"
> Content-Type: text/xml;charset=utf8
> Content-Length: 30737
> Date: Tue, 27 Nov 2007 16:29:16 GMT
>
>
> Is there anything i need to do with my Response object to make sure
> the Gzip'ing actually happens.
Pls. take a look here at Jeanfrancois'es blog [1]. Seems by default
compression is set to "off", so it needed to be switched "on".

WBR,
Alexey.

[1]
http://weblogs.java.net/blog/jfarcand/archive/2006/06/enabling_http_c_1.html
>
>
>>> - Where i do i set the maximum number
>>> of connections I will accept
>>
>> SelectorThread.setMaxQueueSizeInBytes() //Default is 4096
>
> is that 4096 connections? (seems strange since the method sig is
> Bytes, kinda threw me)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>