Practice
Learn
← Quit
0 / 0 correct
System Design
Hard
1 of 20
How can you keep a cache consistent with a database without the application doing double writes?
A
Write to the cache first, then the database
B
Make every read bypass the cache
C
Use a longer TTL
D
Tail the database change log (CDC, e.g. Debezium) and invalidate or update cache entries from it