Mehdi Akiki

Posts tagged "reliability"

  • Published on

    Reference · Interrupted execution

    Give Every Agent Tool Call a Deadline

    When an agent calls a tool, it stops and waits. If the tool is slow, the whole turn is slow, and the user waits with it. The fix is small: put a deadline on every tool call.
  • Published on

    Article · Derived state

    How to Keep Two Systems in Sync

    When you sync two systems with webhooks, the copy slowly becomes wrong: some events are lost, some are duplicated, some arrive in the wrong order. Reconciliation is the way to make the two systems agree again. Here is how to design an API for it.
  • Published on

    Reference · Interrupted execution

    Why Exactly-Once Delivery Is a Myth

    Everybody wants exactly-once delivery. Over a network it is impossible. Here is why, and the trick that gives you the same result in practice.