tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: APR, WebSocket and Servlet 3.1 NIO refactoring
Date Wed, 16 Jan 2013 13:19:00 GMT
On Wed, 2013-01-16 at 12:08 +0000, Mark Thomas wrote:
> > It is not really a bug: only the newer Windows (Vista+) have efficient
> > polling. With previous versions, small pollsets have to be used because
> > (apparently) it can only poll over 64 sockets at a time. If the size is
> > over 1000, there is a big performance impact. It is supposed to be
> > handled well in APR (using the new APIs if available).
> > 
> > Source: Mladen some time ago. Hopefully, I understood everything
> > correctly ;)
> 
> It looks like lifting your new Poller implementation (and associated
> supporting classes) will be the quickest way forward at this point. Am I
> correct in assuming you are happy for me to do that?

Yes, I think you should use that poller code (at least a little bit),
it's rather tricky.

Rémy



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message