Answer the question
In order to leave comments, you need to log in
How does the speed limit in the router work when distributing via wifi?
Routers have a function to limit bandwidth to subscribers. Explain how limiting the speed of the Internet to a certain value works, in an environment where there are so many different data transfer protocols on the Internet .. ?
Answer the question
In order to leave comments, you need to log in
The details depend on the specific implementation, but usually everything is based on a leaky bucket .
In general, the router counts how many bytes it has missed, and if it sees that there are too many bytes per unit of time, the extra packets are simply dropped (discarded without forwarding them further). And then the traffic source somehow adjusts. If the traffic is TCP, then the sender, noticing the loss, will reduce the sending speed until the loss stops. If UDP is used, and the application has not built any rate-control mechanisms over it, then it will send extra packets that will be destroyed by the router. Before it, the traffic will be without speed limit, and then it will go already limited.
https://ru.wikipedia.org/wiki/%D0%A8%D0%B5%D0%B9%D...
Implementation details may vary, but the principle is about the same.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question