Slide 8
Slide 8 text
Caches can be built-in
or distributed caches Cache
API
Built-in Caches
Cache
API
Distributed Caches
Cache
Cache
Read
Write
Read
Write
● If data can fit into the api
memory space, use built-in
● Use distributed caches for
large amounts of data
● Some cache implementations
provide both options
● For distributed caches, make
sure to use one that has
o(1) retrieval time