I am using the Java driver to access mongodb. I assume that db pooling is internally handled by the driver. But the number of connections increases every time I get access to db.
This is my serverStatus log.
"connections" : { "current" : 276, "available" : 543 }
Do i need to explicitly close mongo connections? how do i manage the connection pool in java?
source share