News for hackers. Stuff that matters.
Re:Hetzner appears to impose unlisted “fair use” on traffic by londons_explore on Tuesday July 26, 2022 @05:54PM (#32244580)
A better way to do it is to simply prioritize traffic in order of whoever has used least traffic this month.

So if a link is congested and a packet has to be dropped, then it is dropped from whichever user has sent the most packets in the last 30 days.

The end result is light users will get great service. Heavy users will start to see congestion at busy times, but will still be able to download as much as they like, contending with other heavy users at busy times.

Actual implementation can consist of say 10 QOS queues, where each customer is assigned a queue based on their decile of traffic sent in the last 30 days. Ideally you'd do strict priority on the queues, but I actually find it works better to say each queue has 2 packets delivered for each one of the queue below. That ensures that if a low use customer has a big burst of traffic, other clients still get a few packets delivered, which helps flow control adapt better. Also, rather than just ranking on 30 day traffic volumes, it works better to rank on 30 day traffic, plus 7 day traffic, plus 24 hour traffic, plus 1 hour traffic. That effectively means traffic sent in the last hour is counted 4x. That means users get faster feedback.

Do this and your company gets better utilization of network hardware too - every link will be 95+% full all the time. Thats better than the traditional model of building for peak usage and having links sit idle at 3am. There are plenty of customers who would love to use that cheap 3am capacity!

Re:Hetzner appears to impose unlisted “fair use” on traffic by itsthecourier on Tuesday July 26, 2022 @06:38PM (#32244986)
Do I love your answer, nice weighting bro