Can I limit user resources in MongoDB? Example of this limitation in MySQL is to limit queries per hour or connections per hour for a user. I am using mongosh to interact with MongoDB version 5.0.2
Can I limit user resources in MongoDB? Example of this limitation in MySQL is to limit queries per hour or connections per hour for a user. I am using mongosh to interact with MongoDB version 5.0.2
With MongodbClient you set can set up maxPoolSize to prevent a lot of queries at the same time
See https://mongodb.github.io/node-mongodb-native/driver-articles/mongoclient.html
Connection pool configuration: maxPoolSize=n: The maximum number of connections in the connection pool Default value is 5