fabiog1901 / dbworkload

Simulator utility for DBMS workloads.
GNU General Public License v3.0
1 stars 0 forks source link

Ability to throttle the QPS #5

Open fabiog1901 opened 3 weeks ago

fabiog1901 commented 3 weeks ago

It would be nice to have the ability to throttle the QPS on a per statement or transaction level.

Basically, there would be an expected arrival rate of a statement and the sleep time of threads would be adjusted to match the desired rate, something like the --max-rate flag for cockroach workload run tpcc:

--max-rate float                         Maximum frequency of operations (reads/writes).