Cache-aside / lazy load

Client request App decides flow Cache redis · in-memory 0 Database postgres · source of truth 0 1. check cache 2. miss → db
Client request Cache smart · loads on miss 0 Database source of truth 0 on miss fill cache
Client writes / reads App Cache always fresh 0 Database always fresh 0 write write both must succeed
Client writes App Cache ack instantly Queue 0 Database 0 enqueue batch flush cache crash = data loss risk
Client reads Cache always hits hot keys 0 Database source of truth 0 Refresh worker background · pre-ttl pull refresh
Hit rate
···
Reqs / sec
0
DB ops / sec
0
Cache fill
0 / 8

Throughput · last 30 seconds

hits/s misses/s db ops/s writes/s

Access by key · last 5 seconds

24 keys · hottest highlighted

Cache contents · hottest keys

key value hits ttl left
empty

Keep going.

Drop your email to unlock the rest.