Advanced System Design Fundamentals
0% completed
Cache Consistency Trade-offs
Give every field of an online store's product page the same 60-second cache lifetime. The review count is sometimes a minute out of date, and nobody notices. The price is a minute out of date about once a week, and a buyer at checkout may notice. During a sale, the stock line is out of date almost all the time.
One setting is harmless for one field and costly for another on the same page. For this reason, "Is 60 seconds acceptable?" has no single answer. It has one answer for each kind of data, and this lesson shows how to reach each one with numbers.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%