mulbc / gosbench

Distributed S3 benchmarking tool - Replacement of Cosbench
GNU General Public License v3.0
44 stars 16 forks source link

Add tests that read existing data from a bucket #7

Closed mulbc closed 4 years ago

mulbc commented 4 years ago

A couple of people asked me to add a test type that would read pre-existing data from a bucket instead of running through the prepare step.

With this, we would potentially take the bucket_prefix as full bucket name, assume workers_share_buckets is True and in the prepare step scan for already existing files, then add them to the job queue.

Additionally I would add a existing_read_weight to the config that would weight the amount of reading existing files in the bucket. This way a mix of reading pre-existinng writes, listing & writing would still be possible...