this post was submitted on 19 Aug 2023
1058 points (96.6% liked)

Selfhosted

39151 readers
887 users here now

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!

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] Baku@aussie.zone 18 points 1 year ago (3 children)

Looking at all you guys with your gigabit connections, meanwhile I'm in Aus and lucky to get 30 down and 15 up

[–] Faceman2K23@discuss.tchncs.de 3 points 1 year ago

Not eligible yet for the fttp upgrade? Hang in there mate.

I got upgraded from fttn to fttp at the start of this year.

[–] zikk_transport2@lemmy.dbzer0.com 3 points 1 year ago* (last edited 1 year ago) (2 children)

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. :)
[–] jampacked@lemmy.world 2 points 1 year ago (1 children)

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?

[–] zikk_transport2@lemmy.dbzer0.com 3 points 1 year ago (1 children)

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 1 points 1 year ago

Very cool thank you!

[–] CosmicCleric@lemmy.world 1 points 1 year ago (1 children)

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.

[–] zikk_transport2@lemmy.dbzer0.com 1 points 1 year ago (1 children)

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

[–] CosmicCleric@lemmy.world 1 points 1 year ago (1 children)

To confirm, Go is a compiled language?

[–] zikk_transport2@lemmy.dbzer0.com 2 points 1 year ago (1 children)

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

[–] hschen@sopuli.xyz 1 points 1 year ago* (last edited 1 year ago)

Wish i had 15 up, im getting 40 down 3 up. They started putting fiber down my street but not active yet, cant wait to go to 1 gig