The Guardian is an innovative open-source platform that streamlines the creation, management, and verification of digital environmental assets. It leverages a customizable Policy Workflow Engine and Web3 technology to ensure transparent and fraud-proof operations, making it a key tool for transforming sustainability practices and carbon markets.
Apache License 2.0
93
stars
120
forks
source link
Optimise and Eliminate Redundant Connections to MongoDB #3833
Our application is currently establishing approximately 120 connections to the MongoDB server with a clean setup. This high number of connections may be causing unnecessary resource utilization and potential performance issues. While no severe impact has been measured, we want to optimize our database connection management to improve efficiency and prevent future scalability problems. The source of these redundant connections is currently unknown, and our current connection pooling setup needs investigation.
Requirements
Investigate the source of redundant MongoDB connections in our application.
Analyse the current MongoDB driver configuration and connection pooling setup.
Develop a strategy to reduce the number of connections from the current ~120 to a more optimal number.
Problem description
Our application is currently establishing approximately 120 connections to the MongoDB server with a clean setup. This high number of connections may be causing unnecessary resource utilization and potential performance issues. While no severe impact has been measured, we want to optimize our database connection management to improve efficiency and prevent future scalability problems. The source of these redundant connections is currently unknown, and our current connection pooling setup needs investigation.
Requirements
Definition of done
Acceptance criteria