-
Notifications
You must be signed in to change notification settings - Fork 54
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:
![image](https://private-user-images.githubusercontent.com/32613835/245085460-f05ae9e1-b992-4795-9e28-dfd0017afe44.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMjMzOTIsIm5iZiI6MTcyNDAyMzA5MiwicGF0aCI6Ii8zMjYxMzgzNS8yNDUwODU0NjAtZjA1YWU5ZTEtYjk5Mi00Nzk1LTllMjgtZGZkMDAxN2FmZTQ0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDIzMTgxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwZDQwMjQ1ZmMzYmM4YjQ2ZTM1MGMxZGFmZDQ0MjlkOGRmNjc3MzZiOWRiMmI2OWRkZDNkNjM5ZWRmNDM2OTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.jDOH8b796MVtB7yHqtyq4Wx8deomixBtjv_aPLKnxrs)
The text was updated successfully, but these errors were encountered: