hashgraph / guardian

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

Open Pyatakov opened 6 days ago

Pyatakov commented 6 days ago

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