top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How many account we will create and what grant given to each account in mongodb administration and management ?

0 votes
237 views
How many account we will create and what grant given to each account in mongodb administration and management ?
posted Sep 30, 2016 by Sheetal Chauhan

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

We are using php, mongodb v 2.6.10, we have not set connection pool. We want to set connection pool at server level.
Presently we are creating a new connections every time, when application talk to database. When our no of connection reach to 400, our db performance impact so badly, and query time increase up to 4 times.

0 votes

We recently starting using MongoDB and the new Scala driver library (v 1.1.1). We have not made any custom configurations but we are consistently running out of connections and getting connection timeouts. I worry that we are using the driver incorrectly.

Please see my questions below -

  1. We are using dependency injection to manage the MongoClient. Should be injecting MongoClient or MongoDatabase into all of our CRUD classes?
  2. Should we treat the MongoClient and/or the MongoDatabase as a singleton?
  3. Are there any other common mistakes people have seen with the Scala driver?

Thanks in advance...

...