Global cache
A single cache shared by all the app's servers. If the data isn't there, it fetches it from the database itself.
Example
What server 1 brought into the global cache already serves the other 9 servers.
Test yourself: Global cache
Evicting and spreading the cache
In a global cache, if the data isn't there, who fetches it from the database?
The cache goes to the database, stores the data and returns it: the 10 servers each avoid a trip of their own.
0/1
â–¶ Play