NetworkComms communication framework V3 performance test, networkcommsv3

Source: Internet
Author: User

NetworkComms communication framework V3 performance test, networkcommsv3

Our testing program adopts this mode.

In the Networkcomms communication framework, if a connection already exists between the client and an endpoint on the server, it is called directly. It is not easy to simulate the connection between the client and the server on the same port.

Fortunately, the NetworkComms communication framework has an important function, that is, it can listen on multiple ports, that is, a server-side program can listen on hundreds or thousands of ports at the same time.

In our testing program, the server listens to several hundred ports, the client establishes a connection with these hundreds of ports, and then sends test data through these connections.

NetworkCommsV3 Performance Testing Program

I have always wanted to create a performance test program. By accident, I found that the NetworkCommsV3 version is already included. I made some modifications and sent the test results for your reference.

Test only on the local machine. Both the client and server are on the same computer (if the server and client are deployed on different computers, the CPU usage should be lower)

Testing Computer:

The program uses. net Framework4.0.

Console Program

Test 1: Download the EXE Test File

Connection: 500

Data size: 50 bytes

Test method: send data once on each connection. After the traversal is completed, wait 30 milliseconds before sending the next round.

Test results: the CPU usage fluctuates between 30% and 40%.

 

Test 2: Download the EXE Test File

Connection: 800

Data size: 30 bytes

Test method: send data once on each connection. After the traversal is completed, wait 50 milliseconds before sending the next round.

Test results: the CPU usage fluctuates between 30% and 40%.

Test 3

Test 3: Download the EXE Test File

Connection: 500

Data size 1024 bytes

Test method: send data once on each connection. After the traversal is completed, wait 50 milliseconds before sending the next round.

Test results: the CPU usage fluctuates between 30% and 40%.

 

Test 4: Download the EXE Test File

Connection: 500

Data size 10240 bytes

Test method: send data once on each connection. After the traversal is completed, wait 50 milliseconds before sending the next round.

Test results: the CPU usage fluctuates between 30% and 40%.

 

Www.networkComms.cn

The communication framework in the above test procedure is a trial version with a validity period

Related Article

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.