users@grizzly.java.net

Re: grizzly-sendfile and Comparison of Blocking and NonBlocking IO

From: Igor Minar <iiminar_at_gmail.com>
Date: Tue, 12 May 2009 00:34:06 -0700

On May 12, 2009, at 12:18 AM, Igor Minar wrote:
>
> I built a simple grizzly webserver:
>
>
> GrizzlyWebServer ws = new GrizzlyWebServer(port, canonicalPath);
> ws.setMaxThreads(threadCount); //set to 50
> ws.getSelectorThread().setBufferSize(bufferSize); //set to 81000
> //optionally: ws.getSelectorThread().setAsyncHttpWriteEnabled(true);
> ws.start();


the full diff is here: https://kenai.com/hg/grizzly-sendfile~mercurial/
rev/a9d29369226c

/i