A sequence of steps across services cannot be rolled back, so each step has a compensating action that undoes its effect after the fact. The compensations are business…
A script runs to completion with nothing interleaved, which is exactly why it is useful and exactly why a slow one is an outage. The atomicity removes the…
A consumer group can have at most one consumer per partition, so the partition count is the maximum useful number of consumers. The inability to reduce the count…
Checking whether a key exists and then inserting it is two statements and a race, and the race is precisely the concurrent-retry case the key exists to handle.…
A queue with no bound converts an overload into a latency problem that appears hours later and cannot be reasoned about. Framing the bound as a staleness budget…