Mehdi Akiki

Posts tagged "rust"

  • Published on
    Translate upstream rate limits into a product contract. Distinguish a customer's quota from a shared provider limit and avoid exposing raw provider errors.
  • Published on
    Keep network waits outside a shared-state lock, then check that the state is still current before applying the result. Shorter locks need a correctness policy too.
  • Published on

    Article · Interrupted execution

    Give repair scripts a preview before they write

    Separate repair planning from application. Show the selected records and proposed changes, then reject stale versions instead of applying an old preview blindly.
  • Published on

    Article · Interrupted execution

    Send worker failures back to the caller

    Separate a worker's business error from a broken reply path. Use a typed result and observe worker lifetime instead of returning an empty success.