johnlpage / POCDriver

Workload Driver for MongoDB in Java
Other
204 stars 87 forks source link

allow multiple clients #3

Closed jasonmimick closed 9 years ago

jasonmimick commented 9 years ago

Added additional cmd line parameter 'y' to specify thread 'workerId' start value. This will allow multiple clients to write to the same db.collection.

johnlpage commented 9 years ago

I think ive used y for something else - will need to merge this in manually maybe

jasonmimick commented 9 years ago

Sure, that is fine. Since we're running low on available opts, another possibility is to just specify the thread parameter like -t 16:20 which would mean give me 16 threads, but start at 20 for the workerId's. Thanks.

johnlpage commented 9 years ago

Merged - but will test now