I’m seeking assistance on integrating Mongobetween with PyMongo or the MongoDB Node.js driver to alleviate high MongoDB connection issues.
If anyone has experience using this proxy, I’d greatly appreciate your insights. I’m currently grappling with a high volume of MongoDB connections, particularly in one flow, while utilizing DocumentDB with MongoDB compatibility. Our current setup is resulting in approximately 500 connections occurring within a single flow, which we aim to reduce.
I’ll attach the GitHub link for reference. Any suggestions or guidance would be immensely helpful. Thanks in advance!
link:mongobetween
In adherence to best practices, we’ve established MongoDB connections outside the handler. However, with each API call, a connection is initiated and automatically terminated. Managing this becomes challenging with multiple API calls in a single flow. To address this, we considered using Mongobetween as a proxy. Unfortunately, due to insufficient documentation, integrating it with PyMongo or the MongoDB Node.js driver has proven to be difficult.