Tuan-Dat Tran dea6004160 feat(cache-simulation): add avg_age metric and update TTL experiment name
- Introduced `avg_age` metric to track the average age of cached objects during simulation.
- Updated experiment configuration name from "No Refresh (0.5s ttl)" to "No Refresh (5.0s ttl)".
- Updated Jupyter notebooks and related files to incorporate new metrics and change experiment labels.
- Modified experiment output CSV and PDF files to reflect the new `avg_age` metric and updated experiment details.

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-27 17:34:04 +01:00
..

Experiments: No Refresh with variable TTL

Explanation for files in each experiment:

  • details.csv: Access Count, Hit, Miss, Mu, Lambda and Hit Rate for each object
  • hit_age.csv: Shows hit rate/average age at time of request for each object.
  • lambda_distribution.pdf: Lambda Distribution across all objects/discrete values of the Zipf distribution
  • objects_in_cache_over_time.pdf: Amount of cache entries at given time.
  • overall_hit_age.csv: Cumulative description of hit_age.csv

Length of simulation doesn't change much since we're not touching the request rate across the simulations. Break condition for the simulation is when the each database object has been requested at least ACCESS_COUNT_LIMIT (i.e. 10) times.