-
Notifications
You must be signed in to change notification settings - Fork 999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement cache testing tool #253
Comments
another thing, it could be nice if it could also send synthetic traffic, without any files, probably using |
Lets start with the following tasks
Eventually, we will be able to run zipf/real-world traces against DF and Redis and compare their caching performance for the same memory usage. |
@romange i can take a jab at this! |
Thanks, we welcome contributions to the project! 🙏 Please implement items 1-3. we are interested to send zipfian distribution of keys [key:0 - key:N] like I mentioned in the issue. Here is java reference https://github.com/apavlo/h-store/blob/e49885293bf32dad701cb08a3394719d4f844a64/src/benchmarks/edu/brown/benchmark/ycsb/distributions/ZipfianGenerator.java#L41 but I am sure it's possible to find/copy python based implementations as well. And please ignore that cache-trace task. |
@romange looked through some papers using Zipf for Cache-related work, did you mean to say |
Yes, alpha less than 1 |
The tool should be able to read traces from https://github.com/twitter/cache-trace
and send them to a redis endpoint.
the code should preferrably be structured in such way that we could easily add another trace format in the future.
The tool can probably be implemented in python since I guess we must send requests sequentially from a single connection anyway. Actually, I am not sure - the traces contain namespaces and if there are many of them, we could parallelize the flows and
then golang would be a better choice - some preliminary investigation is needed. These traces are pretty large so I would appreciate if we reduce the test run time.
The tool should provide hit/miss statistics by periodically checking INFO response and providing the final report at the end.
The text was updated successfully, but these errors were encountered: