Mehdi Akiki
Writing

Rust service runtime decisions

Trace shared locks, queue admission, task ownership, retained memory, and cleanup. Each guide gives a concrete reproduction, the resulting decision, and the limits of the evidence.

  1. Decide what happens when the queue is full

    A bounded worker queue needs an admission policy. Choose between waiting, rejecting, and durable acceptance, and tell callers which promise they received.

  2. 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.