Skip to content
Home / Blog / Engineering & Growth

How to Scale an App from 1,000 to 100,000 Users

How to scale app users from 1,000 to 100,000: fix bottlenecks in the database, caching, queues, CDN and monitoring in order, without a rewrite.

An app that works for 1,000 users can behave very differently at 100,000. Pages that loaded instantly start to crawl, background jobs pile up and a single slow query can take the whole system down. The good news is that you rarely need a dramatic rewrite to scale app users by a factor of one hundred.

This guide walks through the order in which bottlenecks usually appear and what to do about each one. It is written for founders and product owners who want to ask the right questions of their engineers, and for developers who want a sensible checklist.

What does it mean to scale an app?

Scaling means keeping response times and reliability acceptable as load grows, at a cost that makes sense. Load is not just user count. A hundred users uploading videos can stress a system more than ten thousand reading a list. So define load in terms of your own app: requests per second, concurrent users, jobs per minute, data size.

There are two broad approaches. Vertical scaling means a bigger machine. Horizontal scaling means more machines sharing the work. Vertical is simple and works for a surprisingly long time. Horizontal needs your app to be stateless, so any server can handle any request. Plan for the second while using the first.

Step 1: Measure before you change anything

Guessing is the most expensive way to scale. Start by collecting numbers: response time per endpoint, error rate, database query time, CPU and memory, and queue length. A useful habit is to track the slowest ten endpoints and the ten most time-consuming queries every week.

Set a target. For example, a hypothetical goal might be: 95 per cent of API calls respond in under 500 milliseconds at ten times today's traffic. A clear target tells you when to stop optimising.

Then run a load test against a copy of production with realistic data. Ramp traffic gradually and watch what breaks first. That first failure is your real bottleneck.

  • Response time by endpoint (median and slowest 5 per cent).
  • Database CPU, connections and slow queries.
  • Error rates and timeouts.
  • Queue depth and job age.
  • Cost per 1,000 users, so scaling does not surprise your budget.

Step 2: Fix the database first

For most apps the database is the first real limit. The easiest wins come from the queries themselves. Add indexes for columns used in filters and joins, remove queries that run inside loops (the classic N+1 problem), and fetch only the columns you need.

Next, control connections. Each app server holding many open connections can exhaust the database; use connection pooling. Paginate every list so one request never loads thousands of rows.

When reads dominate, add read replicas and send reporting and search queries to them. Be aware that replicas can lag slightly behind, so keep critical reads, such as a payment status right after a payment, on the primary. Consider sharding or splitting data only after these steps, because it adds permanent complexity.

  1. Run the query planner on your slowest queries and add the right indexes.
  2. Remove N+1 queries by batching or joining.
  3. Use connection pooling and sensible timeouts.
  4. Archive or partition very large, old tables such as logs and events.

Step 3: Add caching where reads repeat

Caching stores the answer to an expensive question so you do not compute it again. Good candidates are data that many users read and few change: catalogues, configuration, public profiles, leaderboards, and computed counts.

There are layers. Browser and app caches avoid requests altogether. A CDN serves images, scripts and public files from locations near the user, which helps users in Mumbai, Dubai or London alike. An in-memory store such as Redis keeps hot data close to your servers.

The hard part is knowing when to refresh. Use short expiry times for fast-changing data and explicit invalidation when a record is updated. Start with a small, high-value set of cached items and measure the hit rate.

Step 4: Move slow work to background queues

Anything that does not need to finish before the user sees a response should leave the main request. Sending emails, generating invoices, resizing images, calling third-party services and syncing data are all good queue jobs.

A queue lets you absorb spikes: jobs wait their turn instead of crashing the app. Make jobs idempotent, meaning running them twice produces the same result, because retries will happen. Add a dead-letter list for jobs that keep failing so someone can inspect them.

Payment and webhook handling especially benefit from this pattern; see payment gateway integration in India for how reconciliation fits in.

Step 5: Make the app stateless and protect it

To add servers behind a load balancer, keep sessions and uploads out of local memory and disk. Store files in object storage, sessions in a shared store or signed tokens, and configuration in environment variables.

Add rate limiting so one noisy client cannot harm everyone, and set timeouts on every external call so a slow partner does not freeze your system. Review your hosting choice using cloud hosting for apps and automate releases with CI/CD so scaling changes ship safely.

Watch the client side as well: smaller payloads and fewer calls reduce load, as discussed in mobile app performance optimisation.

Step 6: Build observability and a scaling checklist

At 100,000 users, you cannot debug by guessing. You need logs you can search, metrics on dashboards, traces that show where time goes, and alerts that wake the right person for the right reasons. Alert on symptoms users feel, such as error rate and slow responses, rather than on every CPU blip.

A short readiness checklist helps before a big launch or campaign:

  • Load test passed at 2x to 3x expected peak.
  • Backups taken and a restore tested.
  • Autoscaling or capacity headroom in place.
  • Alerts and an on-call contact defined.
  • Rollback plan for the latest release.
  • Third-party limits, such as SMS and payment rate limits, checked.

A worked example

Imagine a hypothetical booking app where the home screen takes five seconds under load. Tracing shows it runs 60 queries per request. Batching them to six and caching the city and category lists cuts database work sharply, and a queue handles confirmation messages. No new servers were needed. This is typical: fixing waste usually beats adding hardware.

Conclusion: scale in small, measured steps

To scale app users from 1,000 to 100,000, measure, fix the database, cache repeated reads, queue slow work, keep servers stateless and invest in monitoring. Each step is small and reversible. At Elevenmonk we build SaaS products and mobile apps, and we plan for growth from the start rather than as a late rescue; see how to build a SaaS product for the foundations. If you want a second opinion on your architecture, share your project through the free project brief builder.

Frequently asked questions

When should I start worrying about scaling?

Start measuring from day one, but do not build for 100,000 users while you have 500. Fix obvious waste such as missing indexes early, then scale in response to measured limits. Premature complexity slows your team down. Revisit the plan when traffic doubles or before a large marketing campaign.

Do I need microservices to reach 100,000 users?

Usually not. A well-organised single application with a good database, caching and queues can serve a large number of users. Microservices add operational overhead and are useful when separate teams or components truly need to scale and deploy independently. Move to them for a clear reason, not by default.

How much will scaling cost?

It depends on your architecture, traffic pattern, data volume and cloud provider, so any figure is only indicative. Many early gains come from engineering time rather than hardware. Track cost per thousand users, and check current cloud pricing before forecasting your monthly bill.

What is the most common bottleneck?

For most apps it is the database: slow queries, missing indexes and too many connections. Next come repeated work that could be cached, and slow tasks that should run in the background. A load test on realistic data will show which one affects your app first.

/ Talk to Elevenmonk

Want help with this? Let’s talk.

Tell us what you are planning. A founder or senior engineer replies with honest next steps, from Mumbai, for clients across India and worldwide.

Prefer to share your idea in writing? Use the free project brief builder: answer a few questions and send the brief on WhatsApp in one tap.

WhatsApp us