The concurrency Protocol of the Tomcat Protocol Http11nioprotocol

Source: Internet
Author: User
The rationale for this protocol is unclear, but the protocol (HTTP11NIOPROTOCOL) can improve the performance of Tomcat when high concurrency is pending.
The default is http/1.1, which is the blocking type, After switching to Org.apache.coyote.http11.Http11NioProtocol, the request is processed in a non-blocking manner, which allows for a certain amount of concurrency, although, in later versions of tomcat7.0, even http/1.1, However, instead of the original blocking protocol, the ORG.APACHE.COYOTE.HTTP11.HTTPAPRPROTOCOL protocol is used (ensuring that the Tcnative-1.dll file exists in the Bin directory and configured in the Server.xml < Listener classname= "Org.apache.catalina.core.AprLifecycleListener" sslengine= "on"/> so that, without changing the protocol, Using the Httpaprprotocol protocol, however, the sub-protocol is still blocked, but the use of dynamic link library, so that performance than the original http/1.1 have a certain increase, see the official documents (the following official comparison):

The specific performance is also tested in a real-world environment, and the same set of configurations is not the same in different environments.

The concurrency Protocol of the Tomcat Protocol Http11nioprotocol

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.