johnlpage / POCDriver

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

Multiple Java POCDriver client on the same MongoDB engine #8

Closed jlimodinFR closed 7 years ago

jlimodinFR commented 7 years ago

Hello, For a scalability issue, I would like to launch multiple POCDriver java clients on the same MongoDB engine. Unfortunately, I have this error on the 2nd POCDriver client I launched: "state should be: writes is not an empty list" Is your app designed to be launched multiple time on the same MongoDB ? Thanks Julien

johnlpage commented 7 years ago

Yes, each thread needs a unique ID though regardless of machine so use --threadIdStart

TO set a unique starting point on each server.