Grokking Operating Systems and Networking for Backend Engineers
0% completed
Incident: Latency Spikes Every Few Minutes
Checkout's graph of commit times shows a regular pattern. Most of the time, saving an order takes about half a millisecond. Every five minutes, for ten or fifteen seconds, the same step takes hundreds of milliseconds, and the slowest commits take more than a second. Between the spikes, nothing is wrong.
The spikes started on the day another team added a reporting job to the same server. Every five minutes, the job exports the day's orders to a file of a few gigabytes. It uses little CPU, and it never touches Checkout's database.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%