Menu

How to Know When to Scale Your MongoDB Atlas Cluster - Part 1: What Size Cluster Do You Need for Your App?
📰

How to Know When to Scale Your MongoDB Atlas Cluster - Part 1: What Size Cluster Do You Need for Your App?

DEV Community: mongodb·Tim Kelly·5 days ago
#lD8hHL75
#devtomongodb#devto#dev#atlas#traffic
Long article (898 words) — no AI summary yet.
Reading 0:00
15s threshold

"I'm running an M10 cluster. How many queries per second can it handle?"

It's a reasonable question, but the answer is everyone's favourite: it depends.

There's no magic queries-per-second (QPS) threshold that tells you when to scale your MongoDB Atlas cluster. An application performing 1,000 indexed lookups per second will place very different demands on a cluster than one executing 1,000 complex aggregations. Dataset size, memory usage, concurrency, and latency requirements all influence how much traffic a cluster can handle.

So rather than asking how many queries an M10 can execute, a better question is:

"How do I know when my current cluster is no longer sufficient for my workload?"

The same workload details that determine when you need to scale also help you choose where to start. In Part 1, we’ll use them to pick an initial Atlas tier.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.