> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-cln-2792-remove-disable-bundling.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing Scale

> Learn how to configure your Serverless endpoint for different load scenarios

<script
  type="application/ld+json"
  dangerouslySetInnerHTML={{
__html: JSON.stringify({
"@context": "https://schema.org",
"@type": "HowTo",
"name": "How to Manage Vast.ai Serverless Scale",
"description": "Some configuration change strategies to manage different load scenarios, including handling bursty load and low-demand or idle periods.",
"step": [
  {
    "@type": "HowToStep",
    "name": "Manage for Bursty Load",
    "text": "Adjust min_workers to increase managed inactive workers and add capacity for peak demand. Check max_workers to ensure it's set high enough for the serverless engine to create the required number of workers."
  },
  {
    "@type": "HowToStep",
    "name": "Manage for Low Demand or Idle Periods",
    "text": "Reduce min_load to decrease the minimum number of active workers (set to 1 to reach the minimum). Adjust min_workers to change the number of managed inactive workers."
  }
]
})
}}
/>

## Managing for Bursty Load

* **Adjust** `min_workers`: This will change the number of managed inactive workers, and increase capacity for high peak
* **Check** `max_workers`: Ensure this parameter is set high enough for the serverless engine to create the necessary number of workers

## Managing for Low Demand or Idle Periods

* **Adjust** `min_load`: Reducing `min_load` will reduce the minimum number of active workers. Set to `1` to reduce the number to its minimum value of 1 worker, or set to `0` to put all workers into inactive states.
* **Adjust** `min_workers`: This will change the number of managed inactive workers
