Skip to content
RED SAG Skills
hard20 pts · first answer countsdatabasesconcurrencyperformance

One counter row slows every sale

During a flash sale, every purchase updates one row: `UPDATE campaign SET sold = sold + 1 WHERE id = 7`. Throughput collapses with lock waits. What is a common fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions