> For the complete documentation index, see [llms.txt](https://docs.arkannis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arkannis.net/general-concepts/devops/what-is-autoscaling-and-serverless.md).

# What is autoscaling & serverless?

* Autoscaling automates horizontal scaling to ensure that the number of workers is proportional to the load on the system

#### Technologies that allow us to scale this way:

<figure><img src="/files/9Hh3BGdbkNa2ab9xN6lM" alt=""><figcaption></figcaption></figure>

### Serverless vs Autoscaling

* Autoscaling is usually discussed on the timeline of \~1h chunks of work
* If you took the concept of autoscaling and took it to its limit, you'd get serverless
* Serverless: define resources that are quickly started and use them on the timeline of \~100ms

### Use case for serverless:

* Serverless is primarily used for services that are somewhat fast to start and stateless
* You wouldn't run something like a CI run with serverless framework
* BUT you might run something like a webserver or notification service
