Files
age_cache_simulation/experiments
Tuan-Dat Tran f32588340d feat(simulation): add expected age computation and enhance statistics reporting
- Increased `ACCESS_COUNT_LIMIT` to extend simulation runtime.
- Introduced `expected_age` metric based on hit rates for additional insights.
- Calculated and exported `age_delta` for comparing average and expected ages.
- Improved data exports to include detailed metrics for analysis.

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-29 14:42:52 +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
  • lambda_vs_access_count.pdf: Displays the access count against lambda, expecting a higher lambda to result in a higher access count.
  • 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.