I thought data caps for home internet were a thing of the past…

I’ve somewhat recently moved back to a very rural area of the Midwest. Small town. No stop lights. Biggest businesses other than the bars are Casey’s, Subway, and Dollar General.

And we have one ISP (not counting DSL) — Mediacom. When we first signed up, I had to go with the second service tier. But not because of speeds, but so I could have a reasonable 1 TB/mo data cap.

Lucky me, they increased the cap to 1.5 TB. 🙄

I hope that in my lifetime I can see ISPs regulated as a public utility.

I’ve used to temporarily live with 100mbps internet (~95mbps up/down). What really helped me:

  • CAKE queue (QoS stuff) - every device gets fair share of internet.
  • Since I was lucky to have static speeds - bufferbloat was also eliminated.
  • QoS - my seedbox had only a spare internet. Which means if everyone/me uses internet at max, then seedbox would have literaly 0 bits per second throughput, and would get it once there is spare throughput available.
  • Local DNS-based adblocker. I prefer blocky, but others prefer Pi-Hole. Blocky has a feature to pre-cache commonly used domains, so additional internet performance. :)
Cosmic Cleric
link
fedilink
English
11Y

Local DNS-based adblocker. I prefer blocky, but others prefer Pi-Hole. Blocky has a feature to pre-cache commonly used domains, so additional internet performance. :)

Blocky is written in Go, which I understand is an interpreted language program, versus a compiled language program. Please correct me on this if I’m wrong.

If I’m right, then what kind of performance issues if any do you see using Blocky? I asked this assuming that an interpreted program will run slower than a compiled one.

Blocky is written in Go, which I understand is an interpreted language program, versus a compiled language program. Please correct me on this if I’m wrong.

Yup, you are completelly wrong.

If I’m right, then what kind of performance issues if any do you see using Blocky? I asked this assuming that an interpreted program will run slower than a compiled one.

N/A

Go is awesome. My favorite programming language. <3

Cosmic Cleric
link
fedilink
English
11Y

To confirm, Go is a compiled language?

Yes, just like rust. It compiles into a single binary.

Cosmic Cleric
link
fedilink
English
21Y

Thanks.

@jampacked@lemmy.world
link
fedilink
English
21Y

https://0xerr0r.github.io/blocky/v0.21/ This? I’ll have to give it a try later. Pihole has a cache also though, does this do something different?

Yes, this one.

Pihole has a cache also though, does this do something different?

The cache you are referring to is basically:

  1. Device asks to solve google.com
  2. Pihole asks upstream for IP.
  3. Pihole returns IP to device
  4. Another device asks to solve google.com
  5. Pihole returns IP from cache to another device.

Blocky has the same functionality, but it also detects which domains are frequently requested, therefore puts them into “always keep up to date in cache”.

Basically let’s say that many devices keep requesting for “google.com”, blocky detects it as frequently reqiested domain, and as soon as it expires, instead of removing from cache, blocky simply refreshes it’s value and keeps in cache. Expires again? Refresh and keep in cache again. And does this idefinitely.

Let’s say “google.com” TTL time is 10 minutes. Once 10 minutes passes - blocky should remove it from cache, but because precatching is enabled - it will refresh it instead of removal.

Check documentation for details. ✌️

@jampacked@lemmy.world
link
fedilink
English
11Y

Very cool thank you!

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 177 users / day
  • 390 users / week
  • 1.04K users / month
  • 3.75K users / 6 months
  • 1 subscriber
  • 3.92K Posts
  • 79.5K Comments
  • Modlog