fix(simulation): enhance client request process with progress tracking and refine metrics computation

- Added `tqdm` progress bar to track simulation progress in real-time.
- Improved computation of hit rates and average ages for better accuracy.
- Updated data export logic for clearer output and better insights.
Reran Experiments

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2024-11-28 15:21:56 +01:00
parent 123129f3a9
commit a484d49128
43 changed files with 5132 additions and 2167 deletions

View File

@@ -1,8 +1,8 @@
| | avg_ages |
|---:|-----------:|
| 0 | 0.240582 |
| 1 | 0.491436 |
| 2 | 1.00288 |
| 3 | 1.48616 |
| 4 | 1.99204 |
| 5 | 2.45903 |
| | avg_ages |
|:-----|-----------:|
| 0.5s | 0.247 |
| 1.0s | 0.506442 |
| 2.0s | 0.997884 |
| 3.0s | 1.49549 |
| 4.0s | 1.97395 |
| 5.0s | 2.48342 |