Hi,
Since we have 20K requests per second, we will be getting 1.7 billion requests per day:
20K * 3600 seconds * 24 hours = ~1.7 billion
To cache 20% of these requests, we will need 170GB of memory.
0.2 * 1.7 billion * 500 bytes = ~170GB
I’m a little confused with the 20K being used.
20K is 200 URLs/s * 100 read requests, which means the unique URLs should be 200 URLs/s.
I think what we should cache is the unique URLs, not the requests. Do I get this right?
If so, 1.7GB would be the memory needed.
URLs: 200 URLs/s * 3600 seconds * 24 hours = ~17 million
cache memory: 0.2 * 17 million * 500 bytes = 1.7 GB
Please help me out about this calculation. Thanks.