Skip to main content

Writing elsewhere

Guest posts

Articles I've written for other engineering teams' blogs. Each one lives on the publisher's site; here you get a short summary, what it covers and the DevOpsNess posts that go with it.

By Kiril Urbonas, founder and chief editor of DevOpsNess.

  1. PrismaGuest post

    Race conditions in serverless apps: double bookings, oversold stock and lost updates

    Why correct-looking checkout and booking code still oversells under concurrent requests, reproduced on Postgres, and the four fixes that hold up when every request runs in its own function instance.

    What it covers

    • The read-then-write bug, step by step, and why serverless concurrency makes it show up sooner
    • Four fixes with SQL and Prisma ORM code: conditional writes, row locks, version columns and constraints
    • When a rule spans rows and you need SERIALIZABLE with retries
    • A decision table for picking a fix, and a concurrency test that proves it
    • Postgres
    • Serverless
    • Concurrency
    • Prisma ORM
    Read on the Prisma blog

Want a piece like this for your engineering blog?

I write hands-on, tested articles for teams building developer tools and infrastructure products. The partnerships page has the contact details and how paid work is labeled.