How can I do congestion control for a UDP protocol?

后端 未结 5 1391
深忆病人
深忆病人 2021-02-05 17:29

I have a custom UDP protocol with multiple senders/receivers designed to send large files around as fast as possible. It is client/server based.

How can I detect conge

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-05 18:29

    It seems AIMD algorithm is what they use in TCP and UDT protocols to avoid congestion.

    From the Wikipedia page:

    The additive-increase/multiplicative-decrease (AIMD) algorithm is a feedback control algorithm best known for its use in TCP Congestion Avoidance. AIMD combines linear growth of the congestion window with an exponential reduction when a congestion takes place. Multiple flows using AIMD congestion control will eventually converge to use equal amounts of a contended link.

提交回复
热议问题