Engineering notes
Scalable System Design: Where Should a Growing Business Start?
A practical guide to architecture decisions before adding more infrastructure.
Learn how to define growth requirements, find bottlenecks and choose between modules, queues, caching and separate services without losing sight of everyday operations.
The order page becomes slow at busy times. Reports compete with operational work. Every new feature touches several parts of the application. These symptoms can make a growing business feel it has outgrown its software, but they do not all point to the same fix.
Scalable system design begins by separating the demands on the system from assumptions about its architecture. This guide is for business owners and product decision-makers who want a useful conversation with their engineering team. The examples below are educational scenarios, not undisclosed measurements or implementation details from Bitcave projects.
1. Describe growth as a workload
“More users” is not a complete requirement. A thousand people reading content creates different demands from a smaller group editing shared records or running large reports. Describe the important operations, their frequency, the size of the data and the peaks that matter.
An educational example: an agency is preparing for a busy campaign period. Instead of asking for unlimited scalability, it identifies lead entry, opportunity updates and management reports as separate journeys. The team can then test whether reports delay the work that must remain interactive.
2. Agree what must stay correct
Before discussing servers, identify the rules that cannot be casually broken: a request needs a stable identity, a record must not be changed by an unauthorised person and a repeated operation should not accidentally create duplicate business effects.
For an example order flow, write down allowed states and transitions. Who can confirm, cancel or edit an order? What happens if two people act at once? These questions guide data and transaction boundaries. Additional infrastructure does not resolve an unclear business rule.
3. Give the application understandable boundaries
Separating customer management, ordering and reporting into clear responsibilities can make change easier to reason about. Those boundaries can exist inside one deployable application. They do not automatically require separate network services.
A useful review asks which part owns a record, which rules it applies and how another part requests a change. If every feature can alter every table directly, splitting deployment units may simply distribute the same confusion across more processes. This is an assessment question, not a rule that every application must share one architecture.
An educational view of system growth: define the workload, give modules clear boundaries, measure behaviour and evolve the useful parts.
4. Measure the slow path before choosing an optimisation
Follow a slow operation from the interface through the application, data access and external dependencies. Distinguish time spent waiting from time spent doing work. Check representative data and workloads; a nearly empty test database may hide a problem.
Database query plans can help explain how a query is executed. PostgreSQL’s EXPLAIN documentation is one example of that diagnostic approach. An index can help a particular access pattern, but it also has storage and write costs. The useful decision comes from the query and workload, rather than the existence of an indexing feature.
5. Add queues and caching for an explicit purpose
A queue can move suitable work, such as generating a report, outside the immediate user request. That changes the user experience: the result is pending rather than ready. The product needs a way to show progress, handle failures and decide whether a job can be repeated.
Caching avoids recomputing or reloading some information, but introduces freshness questions. A cached summary may tolerate a short delay; an approval decision may need current state. Identify which information can be stale, for how long, and how an update becomes visible. Neither technique is a substitute for identifying the actual bottleneck.
6. Treat cross-system changes as a separate design problem
Suppose the example application saves an order and also needs to notify another system. If one action succeeds and the other fails, the two systems can disagree. A transactional outbox is one pattern for recording a pending event alongside the business change, then delivering it separately. Consumers still need to handle duplicate delivery.
This is a possible design pattern, not a mandatory architecture or a claim about any project shown on this site. The need depends on the consistency requirements and failure behaviour of the actual workflow.
7. Choose complexity with an operating owner in mind
Separate services can support independent deployment or different workload needs, but add communication, versioning and monitoring responsibilities. A system that is easier to draw as a diagram may be harder for a small team to operate. Ask who will investigate a partial failure and how they will trace one business action.
Review priorities periodically. Improve the most consequential constraint, check the result under the agreed workload and keep useful boundaries. A practical next step is a short list: the critical journey, its observed limitation, a measurable target, the smallest proposed change and the person responsible for operating it.
Further reading
PostgreSQL: Using EXPLAIN to examine query plans
Related content
Backend Development, APIs and System Design
Backend systems, databases and APIs that connect your interfaces, apply business rules and keep information moving between the tools your team uses.
Software Modernisation and Performance Optimisation
Architecture review, database tuning and focused software improvements for applications that have become slow, fragile or difficult to change.
Custom Website and Web Application Development
Websites, content management systems, customer portals and business applications shaped around your customers, your team and the way your business works.
Web Application Deployment and Maintenance: A Practical Checklist
A practical deployment checklist for business applications: releases, persistent data, configuration, monitoring, backups, recovery and clear maintenance responsibilities.
How to Design Scalable Software Architecture
A practical architecture guide to workload models, data ownership, capacity limits and incremental growth—without introducing distributed complexity before it solves a measured problem.
Scalable Software Engineering: Principles and Patterns
How stateless services, caching, queues, backpressure and load testing work together—and the conditions that make each pattern useful or dangerous.
Is growth making your application harder to use or change?
Bring a concrete slow workflow or a change that has become difficult. We can help distinguish an operational bottleneck from a broader design problem.
Discuss your system
