basho / basho_bench

A load-generation and testing tool for basically whatever you can write a returning Erlang function for.
Apache License 2.0
311 stars 197 forks source link

Make updates to key generators and example config files #135

Closed slfritchie closed 10 years ago

slfritchie commented 10 years ago

cc: @reiddraper @ksauzz @kuenishi @shino

reiddraper commented 10 years ago

Thanks! Any thoughts on either warnings, or setting the rng_seed to now? Maybe partitioned seq int solves this, but it was surprising to me to run multiple instances of b_b and get the same exact keys generated from each one. Ditto running a benchmark again with what I thought was a really large keyspace, and doing a bunch of updates instead of unique PUTs.

slfritchie commented 10 years ago

I'd be fine with a PR to change it. TBH, defaulting to the same seed is a feature in the "repeatable" test direction. Changing it to default to a random seed is fine by me, but because it'd cause a big change in behavior, separating it out and adding warnings & bells & whistles seems advisable?

reiddraper commented 10 years ago

TBH, defaulting to the same seed is a feature in the "repeatable" test direction.

Agree, and that's why I'm kind of conflicted about it as well. Let's get this PR merged in, and we can tackle this other issue separately. Since it should probably go in another PR anyway.

reiddraper commented 10 years ago

+1 to merge.