Platform
Scaling & Regions
Run more replicas of a service, choose its region, understand placement versus releases, and the limits that apply.
Scaling on Parslinks changes placement: how many replicas of an instance run, and where. It never builds, never creates a release and never changes what code runs.
Placement
Placement is set per instance (service × environment) as a list of regions with a desired replica count each:
When you change it, the runtime adds or removes replicas of the current deployment in that region. The change applies right away, without Apply.
Adding replicas
- Open the service's Settings → Scaling in the right environment.
- Set the replica count for the region.
- New replicas start, pass the health check and join the ready pool; traffic is spread across all ready replicas.
Use more than one replica for availability: when one replica restarts or its host is replaced, the others keep serving.
Designing for several replicas
- Keep replicas stateless: store sessions, uploads and caches in a database, Redis or object storage, not on local disk.
- Requests from one user can land on different replicas. Do not rely on in-memory state between requests.
- Run scheduled jobs from a single place (one replica, or a separate worker service) so they do not run N times.
- Each replica gets its own
PARSLINKS_REPLICA_ID, useful for logs and leader election.
Volumes limit a region to one replica
A volume can be mounted by one replica at a time. When a service has a volume, its region is limited to one replica, and the instance reports VOLUME_REPLICA_LOCK if you ask for more. Databases are single-replica for the same reason. See Volumes & Backups.
Regions
A region is a group of runtime hosts in one location, for example us-west-nevada. An instance's private hostname, volumes and public TCP proxies are region-local. Your plan sets how many regions a workspace can use (currently 1 on Starter and Pro).
Scaling to zero
Setting the replica count to 0 stops all replicas of that instance in the region while keeping the deployment, variables and domains. It behaves like a pause for that region. Paused or zero-replica instances do not use compute credits.
Limits
| Limit | Starter | Pro |
|---|---|---|
| Replicas per service | 2 | 10 |
| Total CPU | 4 vCPU | 16 vCPU |
| Total memory | 4 GB | 32 GB |
| Regions | 1 | 1 |
Limits are checked by the billing service when you scale; a request beyond them fails with a clear quota error. Current values are on the pricing page.
Scaling versus deploying
| You change | What happens |
|---|---|
| Replica count or region | Replicas of the current deployment are added or removed. No build. |
| CPU or memory | Part of the runtime spec: ships with the next Apply or deploy. |
| Code, variables or image | A new deployment through the full pipeline. |
