System Design Patterns: From Fundamentals to Real Systems
Vote

0% completed

​

Semantic Caching

A buyer walks up to a help desk and asks, "Can I send this back?" An hour later, another buyer asks, "What is your return policy?" An experienced clerk hears the same question twice and gives the same answer twice, without looking anything up again. The clerk understands what the words mean.

A lookup table finds an answer only when the new question matches a stored string character for character. For a lookup table, "Can I send this back?" and "Can I send this back ?" are two different keys.

The store's shopping assistant has no cache of either kind

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content