zlacker

[return to "Idempotency keys for exactly-once processing"]
1. ekjhgk+hVf[view] [source] 2025-12-05 21:31:42
>>defly+(OP)
Here's what I don't understand about distributed systems: TCP works amazing, so why not use the same ideas? Every message increments a counter, so the receiver can tell the ordering and whether some message is missing. Why is this complicated?
◧◩
2. Ethery+sYf[view] [source] 2025-12-05 21:46:23
>>ekjhgk+hVf
TCP is a one to one relation, distributed systems are many to many.
◧◩◪
3. ekjhgk+C7g[view] [source] 2025-12-05 22:43:29
>>Ethery+sYf
You mean like UDP which also works amazing?
◧◩◪◨
4. Ethery+Eag[view] [source] 2025-12-05 23:04:58
>>ekjhgk+C7g
UDP gives you practically no guarantees about anything. Forget exactly once processing, UDP doesn't even give you any kind of guarantees about delivery to begin with, whether delivery will happen at all, order of delivery, lack of duplicates, etc, nothing. These things are so far from comparable that this idea makes no sense even after trying real hard to steelman it.
[go to top]