Get distinct records values

Is there a way to query for objects with not same values on some field? For example I have Records:

{ id : 1, name : “my_name”, salary : 1200 }
{ id : 2, name : “my_name”, salary : 800 }
{ id : 3, …

mongodb & max connections

i am going to have a website with 20k+ concurrent users.

i am going to use mongodb using one management node and 3 or more nodes for data sharding.

now my problem is maximum connections. if i have …

Launch MongoDB with Maven

I am using the MongoDB Java driver to perform some persistence in my application. The build for my application is managed via Maven and I’m looking for the best way to integrate a series of MongoDB-…