Skip to content
Glossary · Hosting and delivery

Autoscaling

Also called auto scaling, elastic scaling.

Definition

Automatically adding or removing computing capacity, such as servers or containers, as the load on a system goes up or down.

Last updated

What it is.

An autoscaler watches a signal, such as CPU use, request count or queue length, and starts more instances when it passes a threshold and removes them when load falls. It works best when the app is stateless, so any instance can handle any request.

Scaling out (more instances) is the usual pattern. Scaling up (bigger machines) is slower and has a ceiling. serverless platforms autoscale for you, down to zero when there is no traffic.

Why it matters

Without autoscaling you either pay for peak capacity all day or fall over at peak. With it, cost follows usage. But it does not fix bottlenecks further back: if the database is the limit, more app servers only make it worse.

In a product build

We keep app servers stateless, put sessions and files in shared stores, and scale on the signal that matches the bottleneck. We also set a maximum, so a bug or an attack cannot scale the bill without limit, and load test before big launches.

Watch out

Common mistakes.

  1. 01

    Scaling the app tier while the database runs out of connections.

  2. 02

    No upper limit, which turns a traffic spike into a surprise bill.

  3. 03

    Slow startup times, so new instances arrive after the spike is over.

Related

Related terms.

Building something with this? Ask an engineer.

OceanLab designs and builds production software. Tell us what you are planning and we will reply with how we would approach it.

OceanLab

Enterprise Software Engineering - Human + AI

Languages

Locations

Global Headquarters

21 Merchant Road, 3rd Floor, Singapore 058267

Main corporate office and leadership operations

North America Office

548 Market Street, PMB 12472, San Francisco, CA 94104

Client operations and business development

India Office

402 Shivalik Shilp II, SG Highway, Ahmedabad 380015

Engineering and delivery center

© 2026 - Copyright. All Rights reserved OceanLab