The simpler stampede fix is a lock, and it converts a burst of computation into a burst of waiting. Serving stale is nearly always the right branch and…
A saga’s compensation is not the inverse of the step it undoes, and deciding what it should be is a conversation with somebody outside engineering. Ordering the steps…
A retry limit lives in the consumer and resets when the consumer restarts, so a message that crashes the process is retried forever. A message that kills the…