Step 1 / 13Setup
A database drowning in reads
Your product pages load data from the database: name, price, stock. At 8,000 reads per second the database CPU is at 95%.
Queries queue up, so pages take half a second or more. Buying a bigger database helps for a while, but it is expensive and has a limit.
“The database is the bottleneck, and most of its load comes from repeated reads.”
←→ step·R restart·Space pause