How to pool the connections of mongodb with casbah? How to pool the connections of mongodb with casbah? mongodb mongodb

How to pool the connections of mongodb with casbah?


Casbah wraps the MongoDB Java Driver which provides a connection pool. An Instance of MongoConnection is actually an instance of the pool, not an individual connection. The pool can be tuned with an instance of the MongoOptions class passed to a new MongoConnection.