alexjustesen / speedtest-tracker

Speedtest Tracker is a self-hosted internet performance tracking application that runs speedtest checks against Ookla's Speedtest service.
https://speedtest-tracker.dev/
MIT License
2.47k stars 90 forks source link

The --single mode in the settings in general section #398

Open malordin opened 1 year ago

malordin commented 1 year ago

Is your feature request related to a problem? Please describe. I would like the application to run two tests in between, or to run a single test (multi or single mode).

Describe the solution you'd like In the global settings, select the mode of operation - single or multi connection. Another solution is to add another cron schedule for the test in single mode

Additional context To understand the picture, speedtest.net has a single mode, both on the site and in the console: speedtest-cli --single

As mentioned in my last post

A similar command can be run with speedtest-cli --single , or in the web version if you select the switch at the bottom.

This is what it looks like in the console:

➜  ~ speedtest-cli --single 
Retrieving speedtest.net configuration...
Testing from Telecom (1.1.1.1)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Operator(City) [2.36 km]: 26.36 ms
Testing download speed................................................................................
Download: 206.46 Mbit/s
Testing upload speed......................................................................................................
Upload: 136.04 Mbit/s
➜  ~ speedtest-cli --version
speedtest-cli 2.1.3
Python 3.10.9 (main, Dec 19 2022, 17:35:49) [GCC 12.2.0]

This is what it looks like on speedtest.net

image


Please look again and tell me how feasible it is. Single communication test modes are also useful for diagnosing network problems and identifying bottlenecks

bleomycin commented 4 months ago

+1 for this. There are many applications that rely exclusively on single threaded connections and the performance variance between a single and many connections can be drastic. VPN, IP security cameras, remote desktop, rsync, scp all rely on single connections. Right now there doesn't be a way to keep track of this performance easily to hand over to my ISP. My single thread speeds on average only achieve 10% of the rated upload speed from my ISP but if you look at the history from speedtest-tracker things look much better than they are.