-
Notifications
You must be signed in to change notification settings - Fork 63
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
Can the workload rate be customized? #13
Comments
Since YCSB is usually used to measure peak throughput, it does not have a request rate customization. |
Thank you for your reply,QueryBot5000[1] has collected the number of accesses within certain intervals in certain scenarios, which might be useful? [1] Ma, Lin, et al. "Query-based workload forecasting for self-driving database management systems." Proceedings of the 2018 International Conference on Management of Data. 2018. |
Hi, sorry for the late reply. I've added a way to limit the client request rate. A constant rate can be specified using the The rate can be also set from the trace file by using
An example command using the above two options would be:
Rate limiting only works for the run phase. Please let me know if you have any issues or improvement ideas :) |
thanks a lot! |
how to get read throughput and latency when I set the rate limite? throughput and latency is fixed. @ls4154 |
If you limit the maximum rate, the rate should be fixed, unless your db is slower than limits. |
For example, we can simulate real-world workloads by customizing the number of load arrivals for each time period like this:
The text was updated successfully, but these errors were encountered: