Mehdi Akiki

Posts tagged "rust"

  • Published on

    Article · Interrupted execution

    Keep HTTP Calls Outside the Checkout Transaction

    A slow shipping request should not hold stock locks. Commit a pending order and durable delivery intent, then recover the external step explicitly.
  • Published on

    Article · Interrupted execution

    Return HTTP Success After the Database Commit

    Follow a checkout result through the commit and HTTP response. Handle rollback and a lost commit response as different outcomes.
  • Published on

    Article · Interrupted execution

    Use a Separate Database Identity for Migrations

    Separate schema ownership from normal application access. Test that the runtime account can do its work and cannot change the tables or security policies.
  • Published on

    Article · Interrupted execution

    A SQLite Import Can Block Normal Saves

    Keep an interactive SQLite importer resumable and bounded. Commit batches with their progress and give foreground writes an explicit busy policy.