DevOps · JetBrains plugin

MongoDB Client Reuse Companion

Free

Database Client Reuse

Warning icon on a new MongoClient(...) (legacy driver) or MongoClients.create(...) (modern com.mongodb.client driver) construction written inside a regular method body: MongoDB's own documentation states "you will only need one instance of class MongoClient even with multiple threads", and that not following the singleton pattern "may lead to too many open connections in MongoDB". A MongoCl

36Downloads
0GitHub stars
2026-08-27Published
FreePricing

The gap it fixes

new MongoClient(...) compiles fine and returns a working client — call it once per request handler and each call quietly opens up to 100 new connections, exhausting the connection budget under load instead of reusing the one pool the application actually needs.

Facts and pricing

Category
DevOps
Pricing
Free
Platform
IntelliJ-family
First published
2026-08-27
Marketplace ID
#33877
Repository
mongo-client-reuse-companion
Growth
New listing

Related plugins

All DevOps plugins
Need a tool like this built for your codebase?Custom static-analysis rules, CI/CD integration, private plugin distribution and performance audits for IntelliJ plugins.
Work with Joel

Download and star counts as of 2026-10-18, refreshed twice daily from the JetBrains Marketplace and GitHub APIs.