Am 03.11.2014 um 22:00 schrieb Mark Thomas:
On 03/11/2014 19:47, Christopher Schultz wrote:
Mark,

On 11/3/14 9:52 AM, Mark Thomas wrote:
As you may have noticed, I started work on Tomcat 9 earlier today.

A quick summary of the changes:
- Tomcat 8 trunk has moved in svn to /tomcat/tc8.0.x/trunk
- INFRA has been requested to create git mirrors for 8.0.x
- Bugzilla project has been created for Tomcat 9
- Basic web site updates have been completed for Tomcat 9

I plan to start work on removing BIO and Comet and refactoring the
connectors next.

Please consider my proposal to keep the BIO connector but disallow use
of async protocols with it. The BIO connectors are simple, efficient,
and are often a good fallback when something goes awry with NIO.

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.

The connector code is complex and suffers from large amounts of copy /
paste / edit. One of my goals with 9.0.x is to simplify the code, reduce
the duplication and make the async code more robust. Removing BIO and
Comet are part of that.

I fully agree. Starting with TC 8 NIO is the default connector. That means it now gets a lot more use. Based on the list feedback and bugzilla I don't expect major bugs in NIO. And problems only happening under niche conditions will be found in TC 8 long before TC 9 gets stable.

On the other hand, since BIO is no longer the default connector but is coupled to NIO (via shared or copied code), it might become harder to keep BIO in good shape during NIO evolution, because fewer and fewer people will be using it. So +1 to removal in TC 9.

Regards,

Rainer

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

Reply via email to