cloudflare / cloudflare/pingora

Introduce real-world trace datasets for hit rate testing

Open
#162 0 comments 0 reactions 0 assignees View on GitHub
documentation enhancement
Dominant language
Rust
Stars
27.4k
Forks
1.7k
Avg merge
6h 22m
Merged PRs (30d)
3

Description

## What is the problem your feature solves, or the need it fulfills?

Although testing cache hit rates using the Zipf distribution yields good results, I propose introducing trace datasets from different production environments to enhance our hit rate testing. From my local testing on some datasets, I've noticed that LRU sometimes performs well, while tinyUFO might not perform as well with smaller cache sizes.

## Describe the solution you'd like

Add some real world trace datasets (eg : small csv file).
Parse it use `csv` crate, do the same thing like the `bench_hit_ratio` do.

## Describe alternatives you've considered

What other solutions, features, or workarounds have you considered that might also solve the issue?
What are the tradeoffs for these alternatives compared to what you're proposing?

## Additional context

https://github.com/twitter/cache-trace
http://iotta.snia.org/traces/parallel/27476

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.