Mehdi Akiki

Posts tagged "Tokio"

  • 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

    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.
  • Published on
    Follow an Axum request into a spawned SQLx lookup. Capture the missing span parent, then carry it explicitly with tracing::Instrument.