System Design (50 Qs)•Part 5: Back-of-the-Envelope Estimation & Production Calculations (44 - 50)
Estimating Memory Requirements for Multi-Tier Caching (80/20 Rule).
In Simple Words: Applying the Pareto Principle (80/20 Rule): $80%$ of total read traffic is generated by $20%$ of hot data.
- If daily read volume is $100\text{ GB}$, your Redis cluster only needs to hold $20\text{ GB}$ in RAM to achieve an $80%$ cache hit ratio!