Diocp3-what is the maximum server connection? One installation 13 test of diocp3 (8 W connections)

Source: Internet
Author: User

What is the maximum connection limit of the server? One installation 13 test for the open-source project of diocp3 (8 W connections)

Test demo path

Diocp3 \ samples \ echo

Previously, the group said that a server can have a maximum of 65535 high (Word) connections. At that time, I checked that the socket type is u_long, which is not word. Although not so many connections, although Shi Runge did the test. Today, I found that my host can have 6 million connections, and I decided to test the number of connections under diocp3. 8 W connections and 441 M memory. It should be 10 W. Of course, in reality, it is impossible for a single server to handle so many connections. It is obviously a 13-pack test. Only a 65535 Test

 

 

The maximum number of connections to the server is clearly fixed. I just confirmed> 65535. I think the theoretical value should be high (u_long ).

Diocp3-what is the maximum server connection? One installation 13 test of diocp3 (8 W connections)

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.