Editor's Note: This blog is adapted from an episode of the AI ThoughtMakers podcast featuring Ankur Gupta, Solution Architect at OceanBase, in conversation with host Prem Goswami. Ankur discusses what happens when a product grows from 100 to 100,000 customers, why existing architecture starts facing pressure, and how businesses can prepare their databases, APIs, and infrastructure for that growth.
Why Does a Product That Works for 100 Customers Struggle at 100,000?
A product can feel successful with 100 customers. Its application runs smoothly, requests reach the database, and the engineering team can manage most issues without much difficulty. As the customer base grows to 1,000 and then 10,000, the team starts paying closer attention to performance. By the time the product reaches 100,000 customers, its architecture faces a different set of demands.
The first assumption is that more customers simply mean more traffic. However, Ankur Gupta, Solution Architect at OceanBase, points to a larger problem. As the customer base grows, people start using the product in different ways. They generate different types of data, access different features, and trigger multiple operations at the same time. This changes what the architecture needs to support. The system must manage different workloads without allowing one activity to slow down the others.
He believes that the preparation starts with the mindset of the people building the product. A company needs to trust its architectural decisions when the fundamentals are sound. The conversation covers workload distribution, database performance, API scaling, traffic spikes, infrastructure costs, and team structure.
Watch the full discussion on what breaks when you scale from 100 to 100,000 customers on YouTube.
Want to hear Ankur Gupta’s insights firsthand? Listen to the full episode on Apple Podcasts.
What Happens When a Product's Architecture Cannot Distribute Workloads?
An application may be built to grow, but that does not automatically mean its architecture can distribute work across multiple systems.
Consider an application where every request reaches one server and every operation depends on one database. The setup might work with a small customer base. As requests increase, that single server and database become points where the entire application can slow down. Ankur identifies this lack of distribution as one of the first major architectural problems that appears during growth.
The solution starts with horizontal scaling. Instead of making one server more powerful, which is vertical scaling, the application adds more servers, called nodes, to share the workload. Requests can then be handled across multiple nodes rather than depending on one machine. However, distributing servers is only part of the solution, A distributed database also needs to spread the data properly.
How Do Data Partitioning and Multiple Data Models Affect Database Performance?
Ankur highlights the importance of data partitioning and partitioning keys. A partitioning key determines how data is divided and where particular records are stored. When an application receives a request, the system can use that key to direct the request to the relevant data partition.
Without proper partitioning, distributing servers may not solve the underlying problem. The application could still spend time searching through large amounts of data or sending requests across different systems.
Ankur also points to the need for multiple data models. Modern applications work with different data formats, including structured records, JSON documents, images, and vector data used for AI-powered search. A database that cannot support the required data models may force teams to introduce additional systems. Trying to force every type of information into one unsuitable data model can create delays across the application. Database operations become slower, integrations take longer, and network latency starts affecting the customer experience.
When Does Database Performance Become a Bottleneck?
The database becomes a bottleneck when transactions, reporting, and search compete for the same resources. As applications grow, the database takes on more than the responsibility of storing customer information. It needs to support transactions, reporting, searches, and different forms of data retrieval. Ankur describes modern databases as data infrastructure platforms because they increasingly support several parts of an application's data requirements.
One challenge is handling different workloads. Transaction processing and analytical queries do not place the same demands on a database. A transaction store handles operations such as placing orders, updating payments, or changing account details. An analytical store handles queries that examine large amounts of information to generate reports and identify patterns.
How Can Teams Prevent Transaction and Analytical Workloads From Competing?
Transaction and analytical workloads are both important, but they serve different purposes. If analytical queries compete with live transactions for the same resources, customer-facing operations can experience delays. The same issue appears when applications need to retrieve information from different data formats. For example, joining document-based information with SQL records can take longer when queries, indexes, and aggregations are not designed properly.
Ankur suggests examining query execution times and stored procedure performance to identify where database operations are slowing down. These measurements help engineering teams understand whether the problem comes from the way information is stored, retrieved, or combined. He also discusses combining transaction and analytical capabilities within a unified database environment where the technology supports both workloads. This can reduce the number of separate systems involved in processing information.
How Can APIs Handle More Requests Without Overloading the Application?
An API acts as a communication channel between an application and the systems it needs to access. When a customer places an order, the application sends a request through an API. The API communicates with the relevant service or database, retrieves the required information, and returns the response.
As customer activity increases, this communication layer starts handling more requests. Simply adding application instances may not solve the problem if the APIs still depend on overloaded databases or unnecessary integrations. Ankur compares the API to a communication channel that needs sufficient capacity to carry information. The amount of traffic it handles depends partly on how efficiently that channel is managed.
He identifies three ways to reduce pressure on this layer.
1. Caching frequently requested information: Applications can temporarily store information that customers request repeatedly. Instead of retrieving the same data from the database each time, the system can return the cached result. This reduces repeated database requests and helps the API respond faster.
2. Reducing unnecessary integrations: Applications often use separate databases for different data models. When every system requires its own set of connections and API calls, the number of interactions increases. Consolidating suitable data capabilities can reduce those dependencies.
3. Limiting unnecessary data transformations: Processes such as Change Data Capture (CDC) and Extract, Transform, Load (ETL) move and prepare information between systems. Although they serve important purposes, too many transformations can add processing overhead and create more work for APIs.
Ankur also explains that scaling the API layer does not always require changing its core design. Applications can add nodes, distribute API requests, and use database proxies to manage connections more effectively. The application layer must also support multiple instances so that requests can be processed across different nodes. Proper partitioning helps direct those requests to the right data.
How Should a Scalable Architecture Handle Sudden Traffic Spikes and Server Failures?
Steady customer growth gives engineering teams time to prepare. Sudden traffic spikes are harder to manage because a large number of requests can arrive within a short period. The architecture needs to account for distribution and failure recovery from the beginning.
Four design decisions play an important role:
- Distribute application nodes horizontally: Multiple nodes should share incoming requests instead of depending on one server to handle all the work.
- Define suitable data partitioning keys: Data should be divided into manageable partitions so requests can reach the relevant information without searching through the entire database.
- Route application integrations to the correct partitions: When different applications access the same data, requests should reach the appropriate partition rather than creating unnecessary movement between systems.
- Maintain replicas and a recovery mechanism: Replicas of data should be maintained in separate parts of the system so a node or replica failure does not bring the entire system to a stop.
Ankur mentions leader-follower arrangements for maintaining replicas and consensus mechanisms such as Paxos to support coordination and recovery. Not every product needs the same implementation. The recovery approach depends on the architecture and its requirements. However, the underlying principle remains important: a single server or replica failure should not become a single point of failure for the product.
A system built with these principles can expand by adding capacity as demand increases.
How Can Businesses Control Infrastructure Costs While Scaling?
More customers usually bring more infrastructure requirements. Applications need additional computing capacity, database resources, storage, and monitoring. If every new requirement results in another independent system, operating costs can rise quickly. Ankur explains that cost is one reason companies often struggle to build for much larger customer bases from the beginning. Engineering teams have to work within a budget while making decisions that will affect the product's future.
His recommendation is to examine how many systems are involved in managing the same information. Each additional system brings infrastructure costs, integration work, and maintenance responsibilities. If the database platform can support both transaction processing and analytical workloads, some of those dependencies may be reduced. The company can simplify the data flow while retaining the ability to handle both types of operations. However, consolidation should depend on actual workload requirements. A single system is not automatically cheaper or faster if it cannot handle the demands placed on it.
Can a Technically Advanced Architecture Hurt Business Growth?
Ankur shares an example from a fintech company that wanted to expand its transaction-processing capabilities. The engineering team also invested in analytics and business intelligence because it wanted the architecture to support those requirements. However, the company's immediate priority was to process transactions and grow its transaction volume. Reporting and analytics were planned for a later stage.
The additional architecture did not match the company's immediate expectations. This illustrates why technical decisions need to follow business priorities. Building capabilities before the business has a reason to use them can consume resources without improving the product's immediate performance.
Ankur emphasizes the importance of mapping architecture to the company's actual requirements. A fintech platform focused on transaction processing may need a different set of priorities from a product built around large-scale analytics.
Why Does Conway’s Law Matter When Architecture and Teams Scale?
Ankur closes the discussion with Conway's Law, which describes how an organization's communication structure influences the design of its software systems. As a company grows, its technology responsibilities become more varied. Different teams may take ownership of transactions, customer data, infrastructure, analytics, and application integrations.
If those responsibilities are not clearly organized, the complexity of the architecture can become harder to manage. Ankur's recommendation is to diversify people and responsibilities alongside technology. As companies expand their infrastructure, they also need the right people to manage each part of it.
This is particularly important when the architecture moves from a small setup to a distributed system. More nodes, databases, and integrations require clear ownership and coordination. The engineering structure should reflect the responsibilities of the product rather than expecting a small team to manage every growing requirement without changes to how work is organized.
Conclusion
Scaling from 100 to 100,000 customers is not simply a matter of adding servers or increasing database capacity. Products begin handling different workloads, more data types, and requests that depend on several systems working together.
Ankur's discussion highlights an important engineering lesson: architecture should grow with the product, not against it. Businesses need to understand their workloads, make technology decisions around actual requirements, and give engineering teams clear ownership of the systems they manage. For GeekyAnts, this reinforces why product engineering must account for scalability from the start. You can explore GeekyAnts’ MVP scaling services to learn how product architecture and engineering decisions can support applications as their requirements grow.







