News for hackers. Stuff that matters.
Re:Achieving reliable UDP transmission at 10 Gb/s using BSD ... by mcguire on Sunday April 19, 2020 @03:57PM (#22918333)
Odds are, at least one of the links between the source and destination will be shared. If so, sending two packets is an expensive attempt at reliability; it will cut the bandwidth in half. Further, one data packet will arrive with a highish success rate.
Re:Achieving reliable UDP transmission at 10 Gb/s using BSD ... by snisarenko on Monday April 20, 2020 @01:13AM (#22921305)
Depends on the use-case.

If you are streaming a live sports event you don't want the video frames to fall behind from the real clock too far, but you also don't want the video to stutter when there is packet loss. I believe you can use the UDP trick I mentioned above to amortize loss of high quality frame data, with "double sent" low quality frame data.

Re:Achieving reliable UDP transmission at 10 Gb/s using BSD ... by mcguire on Monday April 20, 2020 @01:52PM (#22926425)
As others have mentioned, you're looking for forward error correction, and there are better ways than sending duplicate packets, although they all do add redundancy in various ways.