0

I have encountered a situation where I need to replicate a small (<10 MB) database over unidirectional UDP. The physical ethernet cable prevents data flowing the other direction. Updates must be replicated within a few seconds with very low risk of losing data, but there is no way for the receiving side to ask for retransmission if it detects a failure, e.g. a packet loss, as the data-link is unidirectional.

A crude solution to lower the probability of lost updates would be to send each update multiple times, but that seems rather inefficient if the update frequency is high. A more sophisticated solution would be to use error-correcting codes to recover lost or corrupted packets.

Are there any implementations of such fault-tolerant unidirectional protocol?

orbo
  • 1
  • 1
  • Have you checked this? (https://stackoverflow.com/questions/28924342/error-correcting-codes-for-packet-loss-udp) – 00Riser May 09 '18 at 19:39
  • Possible duplicate of [Error correcting codes for packet loss (UDP)](https://stackoverflow.com/questions/28924342/error-correcting-codes-for-packet-loss-udp) – orbo May 13 '18 at 07:19
  • I could certainly build something on that. Thanks a lot! – orbo May 13 '18 at 07:26

0 Answers0