
Service Bus duplicate detection drops a resent MessageId inside its window and nothing else. Lost locks, lost completes and dead-letter resends still deliver twice: key on the operation, record it with the side effect, and dead-letter early.
System design that outlives the tools: event-driven patterns, sagas and outboxes, idempotency, and how Kubernetes itself is put together.

Service Bus duplicate detection drops a resent MessageId inside its window and nothing else. Lost locks, lost completes and dead-letter resends still deliver twice: key on the operation, record it with the side effect, and dead-letter early.

Functions can now call the same SaaS connectors as Logic Apps, so the connector count no longer decides. Who changes the workflow while instances wait does: replay and versioning in Durable Functions, a 365-day ceiling and resubmit in Logic Apps, and the Durable Task Scheduler chosen on day one.

An API that saves to Cosmos DB and then sends to Service Bus will one day do only the first. Save the event in the same transactional batch and relay it from the change feed, unless a Service Bus message started the work.

A Cloud Run function that only reshapes Pub/Sub messages and writes them to BigQuery can go: a JavaScript UDF on a BigQuery subscription does both. Where the transform belongs, when the function stays, and why small messages save the most.

Cloud Tasks when the sender must name the handler and set its pace, deadline and time; Pub/Sub when it should not know who listens. Where Cloud Scheduler fits, and the quiet failure each choice hides.

Write the saga as one Workflows definition: push each undo onto a list before its call, run the list newest first in one except block, and keep Failed for an undo that gave up. Starting each saga once, choreography over Pub/Sub, and when to merge services instead.