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).
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 forcockroach workload run tpcc
: