Ok, thanks for the advice. If it means removing one more layer of
complexity, I'm all for it.

Best,
Alec


On Fri, Sep 20, 2013 at 11:57 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Alec,
>
> On 9/20/13 2:03 PM, Tomcat Random wrote:
> > Chris, Thanks for correcting the misdirected reply.
> >
> > "Do you mean it's not working under load, or you haven't yet tried
> > it under load?"
> >
> > I mean I haven't tested it under load yet.
> >
> > One of the main reasons for choosing APR is is that I was under
> > the impression it's good at serving large static files. My site has
> > some large swf files - one is ~8mb (it's a game site).
> >
> > The docs on APR say, "When APR is enabled, the HTTP connector will
> > use sendfile for handling large static files (all such files will
> > be sent asynchronously using high performance kernel level calls),
> > and will use a socket poller for keepalive, increasing scalability
> > of the server."
>
> The NIO connector also supports sendfile, and avoids blocking I/O for
> keepalives.
>
> > Your recommendation is NIO is comparable to APR in non-ssl
> > performance (as above for large static files) and more stable, and
> > it would be better to switch to that?
>
> I'm suggesting that NIO might be a comparable choice to APR with the
> added benefit of removing some complexity (that of installing a native
> library) to your deployment.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.14 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJSPRk7AAoJEBzwKT+lPKRYv5oP/1JZhzlnNfhPI7LLPJKegf5T
> Nk1Hd5DDPLoa58ihhnntQ0le0dOK6x+6LcktoIr1qvP9q2IiBupwF2HRnW4okW9O
> Db3p4vr0/9IioRPCkHpEcG6J+JR0L93SEDucqFpLQCAaR6x9Yc/ziGqO241sPhJD
> 5BmEBPBi+Kl+OD+UNhrMpyzNKf/zdmzjJu7oMl97DS6kNmx6gf2rvEwBS2Iec6xV
> NgfzqQ/6faSIsFv5AseHIXmYkZcifyegUYemQt+ZtNs7z9C0rx7Gd1Hh6ls2mjlG
> WD4Y2yILg8WouDZXJXEhGU5Pq65iVCoYPTWTF4tvJS0aU4AYVx5opiSZNeZy6vGl
> UAsX7lpTDgQ/VXfEOHmslvZsHorkOnh6z9CcVDtjcZYf+mFouGy3CXJROTcUizJg
> pzwghiT4jX9xcUWaf13CjuqBMo5SwsSqkkf4HY2vFDBDfn70bIG8k+FdjjTjKjv1
> hZwkGc4Ysc0h0b2vKCYgI78fwydDvdnoNEJ50IONP6coxo4fSdaFCaFCQ/gXKVLG
> puMVkbE5WAkgxFBcM0zms5U9oqAQ2ZnwlGMB6tM1/GvnIQYgAiqqDVgEwm/wbWct
> XYxPIHakMXtJZRPY5lECQzmbHMZX4HnJ/si53lKQ2JeT79JC+Pesox0fNobU2eD1
> K5Wu5Y96NL5F+Frl3wOE
> =9/4N
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to