LRU or LFU

Cache 10

Choose

A cache holds 1 million product pages, read 2,000 times per second. From 0:10 to 0:55 a nightly export reads 100 million other keys at 40,000 reads/s. Keep the hot-read hit ratio above 90 percent within 100 USD/mo.

Goals

Not tested yet

The share of reads the cache answers.99 of 100 requests finish faster than this.What the servers and services cost each month.
Choose a design
LRU at 1.2 GB
LRU at 20 GB
LFU at 1.2 GB

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