This article is a mirror article of machine translation, please click here to jump to the original article.

View: 4732|Reply: 0

[Practical combat] The server builds LibreSpeed to test the network speed

[Copy link]
Posted on 5/29/2022 6:33:41 PM | | | |
Requirements: If you test the external network speed (broadband network speed), we can test it through speedtest, and for testing the internal network speed, you can use iPerf3 to test the transmission speed between two devices, as follows:

Use iPerf3 to test device network communication speeds
https://www.itsvse.com/thread-10138-1-1.html
If you use iPerf3 to test the transmission speed, it is required that both devices must install the iPerf3 tool, this article builds the LibreSpeed service on the server, only need to access it in the client browser, you can do the speed test.

LibreSpeed is a tool that can be quickly deployed to test network speed, especially in LAN environments, and is very useful for testing whether network equipment bandwidth is up to standard. The code is mostly made up of a set of html, js, and php, no Flash, no Java, no Websocket, no nonsense, and it's a very lightweight Speedtest implemented in Javascript, using XMLHttpRequest and Web Workers.

Source code address:The hyperlink login is visible.

This article uses docker to build a LibreSpeed service, and only requires one command as follows:




At this time, we access port 28082 of the server through the browser of a computer device, for example:http://192.168.50.227:28082/

The test results are shown below:



The download speed is 1006 Mbps and the upload speed is 1009 Mbps becauseMy home router is a gigabit network port, so the test results are also in line with expectations.

(End)




Previous:[Turn]. .NET Performance Optimization - Collections.Pooled is recommended
Next:[Practice] Use .NET to switch the URL of the Edge browser tab
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com