I'm using mongodb with scala driver casbah
. If I'm not understanding wrong, it doesn't provide connection pool. Is there any pool libraries for casbah, like dbcp
/c3p0
for jdbc connections?
相关问题
- MongoDB can not create unique sparse index (duplic
- Unusual use of the new keyword
- Spring Data MongoDB - lazy access to some fields
- Get Runtime Type picked by implicit evidence
- Golang mongodb aggregation
相关文章
- mongodb有没有什么办法禁止读取数据的时候进行缓存
- Gatling拓展插件开发,check(bodyString.saveAs("key"))怎么实现
- mongodb-aggregate聚合查询分组后如何获得多字段
- RDF libraries for Scala [closed]
- mongodb error: how do I make sure that your journa
- Why is my Dispatching on Actors scaled down in Akk
- How to track MongoDB requests from a console appli
- How do you run cucumber with Scala 2.11 and sbt 0.
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.