An example for limiting rates and scheduling work based on weights.

So you can specify a target requests/s rate and control more finely
what transactions to run.