← lab

irctc-api

2024· older

atomic bookings

What it is

A train-reservation REST API in Express + PostgreSQL, built to hold up under simultaneous bookings of the same seat via atomic transactions. The first pass at the concurrency problem TicketFlow later solved properly in Go.

Node.jsExpressPostgreSQL