Skip to main content
Each deployed app consists of two services: an app service that serves the web application and API, and a worker service that executes background workflows. Both are independently configurable.

App service

SettingDefaultDescription
CPU0.5 vCPUCPU allocated per instance
Memory2048 MBMemory allocated per instance
Min instances1Minimum running instances
Max instances10Maximum running instances
Scale-out cooldown60sWait time before adding another instance
Scale-in cooldown300sWait time before removing an instance
Request count target1000 req/minRequests per minute per instance before scaling out
CPU utilization target70%CPU threshold before scaling out
Apps run on Node.js and handle requests asynchronously on a single-threaded event loop. Most request processing is I/O-bound — database queries, service calls, and API requests to third-party services — while CPU-intensive work is typically offloaded to the worker service. The default settings are suitable for most internal and moderate-volume workloads. For high-availability or high-traffic apps, or apps expecting large bursts in traffic, the minimum and maximum instance counts can be adjusted accordingly.

Worker service

Task settings

SettingDefaultDescription
CPU0.5 vCPUCPU allocated per instance
Memory4096 MBMemory allocated per instance
Temporary disk21 GBDisk storage per instance (21–200 GB)
Min instances1Minimum running instances (0 to scale to zero)
Max instances10Maximum running instances
Target demand50%Scaling target as a percentage of max concurrency — see Autoscaling
Scale-out cooldown60sWait time before adding another instance
Scale-in cooldown300sWait time before removing an instance

Workflow settings

SettingDefaultDescription
Max concurrency4Maximum concurrent workflow executions per instance
Max parallel steps1Maximum steps executing in parallel within a workflow
Poll interval5000 msHow often the worker polls for new work
Default TTL48 hoursHow long workflow step data is retained
Max query rows10,000Maximum rows returned when querying workflow step results (e.g., via the admin UI or API)
Default max duration1440 min (24h)Maximum execution time for a single workflow
The default settings are tuned for general-purpose data processing and asynchronous workflows, and are suitable for most workloads. Apps with data-intensive workflows — large datasets, complex transformations, or heavy file processing — benefit from increased worker memory and CPU, which also proportionally increases the resources available to each step. Apps with high workflow volume benefit from increasing max concurrency and max parallel steps to process more work simultaneously across fewer instances.

Step resource limits

Each workflow step runs with its own resource allocation for data processing:
SettingDefaultDescription
Step memory limit768 MBMemory limit for data processing operations per step
Step spill limit4 GBDisk spill limit for data processing operations per step
Step threads1Thread count for data processing operations per step
Step resource limits are automatically derived from the worker task settings and are not directly configurable. Increasing worker CPU and memory will proportionally increase the resources available to each step.

Valid CPU and memory combinations

CPU and memory must be configured in supported pairings:
CPUMemory
0.25 vCPU512 MB, 1 GB, 2 GB
0.5 vCPU1 GB, 2 GB, 3 GB, 4 GB
1 vCPU2–8 GB (1 GB increments)
2 vCPU4–16 GB (1 GB increments)
4 vCPU8–30 GB (1 GB increments)
8 vCPU16–60 GB (4 GB increments)
16 vCPU32–120 GB (8 GB increments)

Database

Each app gets a dedicated serverless Postgres database that scales automatically based on demand.

Synthetiq Hosted

SettingDefaultDescription
Min compute0Minimum compute units (0 to suspend when idle)
Max compute2Maximum compute units to scale to
Suspend timeout5 minutesTime idle before the database suspends
When min compute is set to 0, the database suspends automatically after the idle timeout and resumes near-instantly on the next connection. For customer-facing or high-availability apps, min compute can be configured above 0 to eliminate cold starts entirely.

Bring Your Own Infrastructure (AWS)

SettingDefaultDescription
Min capacity0.5Minimum capacity units
Max capacity2Maximum capacity units to scale to
BYOI (AWS) does not natively support database scale-to-zero. The database remains running at the minimum capacity at all times. For customer-facing or high-throughput apps, increase the max capacity accordingly.