Re:Homa, a transport protocol to replace TCP for low-latency...
by vlovich123 on Monday August 16, 2021 @11:54PM
(#28206054)
Doesn’t SRTP mean that a continuous stream of small packets will DOS any larger packets? I’m sure I’m missing something about how it works.
[ Parent
| on HN ]
Re:Homa, a transport protocol to replace TCP for low-latency...
by tyingq on Tuesday August 17, 2021 @12:44AM
(#28206315)
I would guess "SRTP" is just the shorthand for something that's less simple than that sounds. It likely has some "starvation protection" in the same way that a typical priority queue does. Like having in-queue age time bump up the priority.
Re:Homa, a transport protocol to replace TCP for low-latency...
by FrancoisBosun on Tuesday August 17, 2021 @12:37AM
(#28206280)
From my understanding, this is total message size, but packet. If a receiver has two incoming messages, a batch upload and a query for a list, the batch upload may have 10MiB to transmit while the other message may only have 1KiB. This, to improve latency, the smaller message should be prioritized.
Re:Homa, a transport protocol to replace TCP for low-latency...
by wmf on Tuesday August 17, 2021 @01:39AM
(#28206567)
You can avoid starvation by increasing the priority of a job (an RPC in this case) when it hasn't made progress for a while. Or you can do weighted scheduling where the shortest job has a higher probability of being scheduled (e.g. WDRR) instead of absolute priority.