Write-through or write-back
Difficulty 1 of 5
Half of the requests read and half write. Writes take 300 ms to reach the database. The cache crashes at 0:10 for 2 s. Choose the write policy. No acknowledged write may be lost, and no read may return an old value.
Options
- Write-back: acknowledge now, flush later
- Write to the database only
- Write-through to the database
Goals and limits
- Lost writes
- none
- Stale reads
- none
- Monthly cost
- under 30 USD/mo
- Traffic
- 100 req/s
Concepts
How players did
Player results load from the server.