All posts / tag
#concurrency
-
Booking the last concert seat
A worked ticket-booking design with PostgreSQL row locks, expiring holds, payment retries, and the late confirmation that cannot take a seat back.
-
What concurrent Ruby looks like, twelve years after the book
A cache benchmark stayed serial as thread count rose. I traced the Ruby runtime, then tested where mutexes, Ractors, fibers, and snapshots help.