yugabyte / tpcc

Repo to run TPCC benchmarks against YugabyteDB
Other
24 stars 21 forks source link

Smart Driver And Random number changes #129

Closed hbhanawat closed 1 year ago

hbhanawat commented 2 years ago

There are two changes we are doing in this PR:

Switch to YB smart driver version 42.3.4 Currently, the random variables are used by multiple threads. We have seen in certain environments that the random number generation slows down if they are used globally. Make the random variable per thread.