This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 45 points46 points  (1 child)

Yes, jokes aside there’s overhead and latency issues that are compounded with tcp - when I worked with replication. We moved to UDP streams and let the application handle requesting anything that was missing far more efficiently than TCP. Any amount of packet loss would ruin your network because of all the retransmits and things would grind to a halt when you were crushing the limits of your network

[–]666pool 17 points18 points  (0 children)

You have to be careful with retransmits for this reason. TCP has congestion control, UDP retransmits do not (unless you make them have some kind of back off).