The bottleneck didn’t go away. It moved.Where we left off At the end of Post 1, my best Postgres version topped out at around 700 reservations a second. Beyond that, requests just piled up waiting for the same row. So for this part, I tried2d ago · 7 min readmanideepnaidu.hashnode.dev
I sold 115 tickets out of 100100 tickets. Thousands of buyers. One second. My first version sold 115 of them. I ran it again: 106. Again: 107. Same code, a different wrong answer every time. Getting it back to exactly 100 turned 1ROct 18 · 9 min readmanideepnaidu.hashnode.dev