Permalink
Browse files

gh-95 Update the MongoDB driver to use a singleton Mongo instance for

each test client.

Add a control (via properties) for the number of connections the Mongo
instance will create/use.
  • Loading branch information...
1 parent 0d2bf50 commit 92d86e74a8b3dbfe27dc9c73d93048174c4d2874 @allanbank allanbank committed with Michi Mutsuzaki Sep 9, 2012
Showing with 172 additions and 114 deletions.
  1. +2 −0 mongodb/README.md
  2. +170 −114 mongodb/src/main/java/com/yahoo/ycsb/db/MongoDbClient.java
View
@@ -40,3 +40,5 @@ See the next section for the list of configuration parameters for MongoDB.
### `mongodb.database` (default: `ycsb`)
### `mongodb.writeConcern` (default `safe`)
+
+### `mongodb.maxconnections` (default `10`)
Oops, something went wrong.

0 comments on commit 92d86e7

Please sign in to comment.