2014-11-03 22:00 GMT+01:00 Mark Thomas <ma...@apache.org>: > The only times I see NIO go awry these days is in the async code and > that is as complex as it is partly to support the continued use of BIO. > > There was a small hack in 7.0.x for async processing, a larger hack in > 8.0.x for non-blocking I/O. I suspect an even bigger hack would be > required in 9.0.x. > > If folks don't need async features and want to use BIO simply use Tomcat > 8. Based on the typical life time of a major Tomcat version that is > likely to be around for a good few years yet. > > I wasn't really around when this was discussed, but it is a problem to advertise support for Servlet 3.1 in the BIO connector. Although the API is technically implemented, the thread model is not going to be able to successfully run real apps. If there's too much demand for BIO, it could stay with a lot of unsupported operations exceptions (that would also include upgrade and 3.1+ non blocking mode this time).
Comet is probably more significant than BIO for removing old code. Rémy