9
lorentz
3y

The first rule of networking: You can't claim that a message had been received until you have heard the reply.

Comments
  • 1
    The second rule of networking: Speed at all costs, especially in the datacenter

    #UDP-wrapped-TCP 😎
  • 1
    @SortOfTested My use case is voice over websocket, which is TCP, because I was way too lazy to figure out how WebRTC works and because the browser APIs all work with TCP.
  • 3
    @homo-lorens For any kind of streaming, TCP sucks because the delay introduced by retransmission is worse than a lost package. Classic case of a cure being worse than the disease.
  • 0
    @Nanos Of course it does because it's based on TCP which abstracts an unordered and lossy connection into an ordered and lossless one. See also the OSI model for general orientation, though TCP/IP doesn't conform to the OSI layer model 1:1.

    However, all abstractions are leaky at some point, and connection errors can still pop up e.g. if the cat rips out the cable.
Add Comment