logoalt Hacker News

tomberttoday at 7:04 AM2 repliesview on HN

TCP helps but only to a certain extent; it only guarantees specific ordering of bits during its session. Suppose you have to construct an object out of three separate transmissions, like some kind of multipart style thing. If one of the transmissions gets corrupted or gets errors out from TCP, then you still fall into that maybe trap.


Replies

jakelazarofftoday at 1:54 PM

Why couldn't you fix this by validating at the point of ingress? If one of the three transmissions fails, retry and/or alert the user.

obsoleetorrtoday at 7:12 AM

so you need transactions?

I get what your saying, but can't you have the same issue if instead you have 3 local threads that you need to get the objects from, one can throw an exception and you only receive 2, same problem

show 1 reply