Founder's note: I have scaled a 6M+ active-device IoT network 10x+, improving performance by about 70% along the way. What made the difference was not one big change but a series of foundations: infrastructure, data models, queries, security and access control. — Hamza Tauqeer
Why does scale break things that worked before?
At small size, a weak design hides. Slow queries are tolerable, loose permissions go unnoticed and infrastructure gaps stay quiet. Scale multiplies every one of them at once.
Why not just add more servers?
More capacity helps only when capacity is the real limit. Often the limit is how data is structured or how it is read. Adding servers to a slow query gives you a faster bill, not a faster system.
What should you fix first?
- Data models: shape them around how the data is actually read and written, not how it was first imagined.
- Queries: find the slowest and most frequent ones before touching hardware.
- Infrastructure: make it repeatable and observable so problems are visible early.
- Security and access: apply role-based access control (RBAC) so growth does not widen who can see or change what.
- Code: remove work the system should not be doing at all.
How do you know what to fix?
Measure first. Pick two or three numbers that matter (response time, error rate, cost per device), find where time is lost, and fix the biggest cause. Repeat. Tuning without measurement is guessing.
What does this mean if you are not at that scale yet?
Design for the next stage, not the final one. A little care in data modelling and access control early costs far less than rebuilding later. If you are unsure where you stand, a discovery phase can review the architecture before growth forces the question.
Our software engineering page covers how we approach this work.