this post was submitted on 12 Aug 2024
447 points (98.5% liked)

Open Source

31725 readers
163 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
top 44 comments
sorted by: hot top controversial new old
[–] [email protected] 38 points 4 months ago (1 children)
[–] [email protected] 4 points 4 months ago

Can you select your server there? Doesn't seem like it. Plus this one looks absolutely TINY.

[–] PixeIOrange 33 points 4 months ago* (last edited 4 months ago) (1 children)

317kB. I love tiny apps <3

[–] [email protected] -2 points 4 months ago (1 children)

How is that tiny though?

Considering this is about sending some random data to a server and measuring the speed, that's quite large. I've seen whole computer games that fit in 1/10 of that space.

[–] MHanak 8 points 4 months ago

It could fit in a standard 3.5 inch floppy disk, sure it's not the smallest, but for a full app written in javascript and not asm it is, in fact, small

[–] [email protected] 26 points 4 months ago* (last edited 4 months ago)

Aaaaand your ISP has already begun forcibly speeding up your service to make it look better in 3... 2... 1...

No doubt the second they figure this out a large amount of the scummy ISPs around the world are gonna start temporary reverse speed throttling when this is used, per usual, to make themselves look better.

[–] [email protected] 23 points 4 months ago (1 children)

I'm slightly disappointed that this isn't about open source amphetamine.

[–] [email protected] 4 points 4 months ago

open source vyvanse for random disconnects

[–] Asudox 20 points 4 months ago (3 children)
[–] soul 34 points 4 months ago (1 children)
[–] [email protected] 8 points 4 months ago (1 children)

It was just a coffee hiccup.

[–] soul 4 points 4 months ago

The jitters.

[–] [email protected] 7 points 4 months ago (1 children)

There were something called "Java applets" on the web before flash. It was real Java, probably a sunset of that. There was an addon just like flash.

[–] Asudox 1 points 4 months ago

I doubt they would care enough for Java applets that died a long time ago to put "No Java" in the description

[–] scottrepreneur -4 points 4 months ago (1 children)

36% Javascript so this statement feels a little strong

[–] [email protected] 1 points 4 months ago (1 children)

Seen as the readme says this in the very next sentence, and they reference Flash, I think they're actually talking about the full fat Oracle Java runtime, not just Javascript.

Side note: I found a support page on speedtest.net that still says you need Flash installed, but only Flash, no Java required here: https://sandboxsupport.speedtest.net/hc/en-us/articles/202610754-What-are-the-requirements-to-use-Speedtest-net

[–] [email protected] 9 points 4 months ago (1 children)

JavaScript has nothing to do with Java. They are completely different languages and environments.

[–] [email protected] 2 points 4 months ago

I'm aware. That's why I pointed out, to the person that conflated the two, that they are different.

[–] Emptiness 18 points 4 months ago* (last edited 4 months ago) (8 children)

Does anyone know of a speed test where you can set it up to run by itself regularly and push a notification to a channel (like pushbullet or similar) when the speed is below a certain threshold?

Edit: I went with self hosted speedtest-tracker as a docker container and notifications through Discord webhook.

Thanks for all the tips!! ❤️

[–] takeda 18 points 4 months ago (1 children)

If I had this requirement I would just generate a file of specific size, place it on one server and on the other I would have a shell script running via cron and measure the time it took to download the file.

It seems like a relatively simple problem.

BTW are you sure you want to test download speed and not latency? I think some routers might have the later built in.

[–] Emptiness 2 points 4 months ago

Definitely speed. My ISP runs on another service providers hardware and it bugs out from time to time and I get 1/10th of the speeds I usually have. My ISP has no way of knowing this so I have to know when it happens and place a ticket so they can place a ticket on the hardware guys.

[–] [email protected] 7 points 4 months ago (1 children)

Fair warning that this would chew through a ton of bandwidth if you run it often, so only do it if you don't have bandwidth caps.

[–] [email protected] 2 points 4 months ago (1 children)

It really depends. Once every 1-5 minutes, sure, maybe. Once every 1-5 hours tho? You're likely fine.

[–] [email protected] 3 points 4 months ago* (last edited 4 months ago) (1 children)

True, although once per hour would still be a lot of data.

For example me running a fast.com test uses about 1.5GB of data to run a single test, so around 1TB per month if ran hourly.

[–] [email protected] 1 points 4 months ago

Once every 6hrs would only be 180GB. A script that does it every six hours, but then increases the frequency if it goes below a certain threshold, could work well. I guess it all depends on how accurate you need the data to be.

[–] [email protected] 7 points 4 months ago (1 children)
[–] [email protected] 3 points 4 months ago

Ah, another thing to install on my Synology NAS! LOL Thanks for sharing that.

[–] [email protected] 7 points 4 months ago

There is speedtest-cli at least that you can run from a script.

[–] 9point6 4 points 4 months ago

Funnily enough, I had something exactly like this set up with home assistant. You can add Ookla and fast.com speed tests as devices, which will run the tests periodically, and then I had an automation set up to send me a message via telegram whenever speed was less than half of what it was supposed to be

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago)

If you’re on MacOS, you can run networkquality via crontab and append the results to a text file. I did this for a few months on a congested network to identify ideal times to try and do schoolwork.

E: A word.

[–] [email protected] 1 points 4 months ago

There is a Speedtest Integration for HomeAssistant and you could automate a notification.

[–] [email protected] 3 points 4 months ago

Does anyone know about a speedtest that's like iperf but multicore and suited for >100GbE? I've seen Patrick from STH use something that could do like 400GbE but I haven't found out what it's called

[–] ObsidianZed 2 points 4 months ago

At my last job, we used iperf a lot for internal speed tests and we used to wonder if there were public iperf servers to test against.

I'm not sure how secure that'd be or if that would even be worth it, but it was an interesting thought.

[–] [email protected] 2 points 4 months ago

Cool project! I used OpenSpeedTest last week to test local intranet speeds.

If you already have docker/podman installed, the command below should get you going quickly:

 docker run --restart=unless-stopped --name openspeedtest -d -p 3000:3000 -p 3001:3001 openspeedtest/latest
[–] [email protected] 2 points 4 months ago

Why "no websockets" is good? What's wrong with it?

[–] [email protected] 1 points 4 months ago

Does it do bufferbloat?