Saving an order and publishing an event are two systems, and there is no transaction across them. Whichever order they happen in, a failure between them leaves the…
Every broker worth using guarantees at-least-once delivery, and the phrase is a warning rather than a feature: a message can and will arrive twice. Exactly-once is not available…
Backing off exponentially stops a failing dependency being hammered. What it does not stop is synchronisation: every client that failed at the same moment retries at the same…
A queue worker that runs for days is a PHP process living outside every assumption the language makes about lifetime, and the first one to break is the…
“Send the confirmation in the background” arrives as a requirement long after the code that sends it has settled into a controller method, wired to a request and…