The bottleneck didn’t go away. It moved.I moved the ticket counter from Postgres into Redis. The hot row was gone, but one Node process became the new limit, until more workers took it from 1,000 to 6,000 requests a second.7 min read·manideepnaidu.hashnode.devOct 24
I sold 115 tickets out of 100I tried four Postgres reservation strategies under real load. One oversold. Three were correct. None was fast enough.9 min read·manideepnaidu.hashnode.dev1ROct 18