Benefits of a cache:
Saves network calls
Avoids repeated computations
Reduces DB load
Drawbacks of a cache:
Can be expensive
Potential thrashing
Cache Policies:
LRU
LFU
11 mins
Saves network calls
Avoids repeated computations
Reduces DB load
Can be expensive
Potential thrashing
LRU
LFU