Write-through or write-back

Cache 05

Choose

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.

Goals

Not tested yet

Saved data that was lost later.Reads that returned old data.What the servers and services cost each month.
Choose a design
Write-back: acknowledge now, flush later
Write to the database only
Write-through to the database

Tap a part to add it, or drag it onto a trace.Click a part to add it, or drag it onto a trace.