Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Created by T S
Created on Jan 28, 2026

Cloudflare integration

What problem are you trying to solve?

Focus on the what and why of the need you have, not the how you'd like it solved.

I am trying to build a serverless application that connects to MongoDB while keeping database connections low, stable, and reusable, similar to what is possible with AWS Lambda or other serverless platforms.

In traditional serverless environments (e.g., AWS Lambda), it is possible to:

  • Reuse database connections across invocations

  • Maintain a small, predictable number of MongoDB connections

  • Stay safely within MongoDB connection limits

  • Avoid connection storms during traffic spikes

This allows MongoDB to be used reliably even under bursty or high-concurrency workloads from Cloudflare.

What would you like to see happen?

Describe the desired outcome or enhancement.

Mongo connections are reused between workers invocation like in lambda

Why is this important to you or your team?

Explain how the request adds value or solves a business need.

This will open the possibility of using mongodb with cloudflare in productions for platforms that need some scale.

What steps, if any, are you taking today to manage this problem?

I am not using cloudflare with mongo