
How I used Redis distributed locking, atomic stock decrements, and TypeORM optimistic locking to guarantee zero overselling under thousands of simultaneous purchase requests, and the race condition I had to fix to get there.
Backend Software Engineer. NestJS · Node.js · TypeScript · PostgreSQL
Backend Software Engineer with a deep focus on server side architecture, security and scalable system engineering. I build with NestJS, Node.js, TypeScript and PostgreSQL and I write about the engineering decisions that separate systems that work from systems that last.
Markdown supported · ⌘↵ to post
No responses yet.