fly-io · Schema
MachineServiceConcurrency
Concurrency-based load balancing configuration for a service.
Properties
| Name | Type | Description |
|---|---|---|
| type | string | Concurrency metric type. |
| soft_limit | integer | Soft connection/request limit. The load balancer deprioritizes this Machine above this threshold. |
| hard_limit | integer | Hard connection/request limit. No new traffic is routed to this Machine above this threshold. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/MachineServiceConcurrency",
"title": "MachineServiceConcurrency",
"type": "object",
"description": "Concurrency-based load balancing configuration for a service.",
"properties": {
"type": {
"type": "string",
"description": "Concurrency metric type.",
"enum": [
"connections",
"requests"
]
},
"soft_limit": {
"type": "integer",
"description": "Soft connection/request limit. The load balancer deprioritizes this Machine above this threshold."
},
"hard_limit": {
"type": "integer",
"description": "Hard connection/request limit. No new traffic is routed to this Machine above this threshold."
}
}
}