Scale
sfp server scale
sfp server scalesfp server scale
sfp server scaleUSAGE
$ sfp server scale -t <value> [--json] [--passphrase <value>
[--identity-file <value> --ssh-connection <value>]] [--critical-workers
<value>] [--normal-workers <value>] [--batch-workers <value>] [-g
<value>...] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-t, --tenant=<value> (required) Name of the tenant
--critical-workers=<value> Number of critical queue workers (1-10)
--normal-workers=<value> Number of normal queue workers (1-10)
--batch-workers=<value> Number of batch queue workers (1-10)
SSH OPTIONS
--ssh-connection=<value> SSH connection string in the format user@host[:port]
--identity-file=<value> Path to SSH private key file
--passphrase=<value> Passphrase for the SSH private key if required
OTHER OPTIONS
--json Format output as json
-g, --logsgroupsymbol=<value>... Symbol used by CICD platform to group/collapse logs
--loglevel=<option> [default: info] logging level for this command invocation
<options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>
DESCRIPTION
Scale worker services for a tenant
Worker Types:
- Critical Workers: Handle high-priority, time-sensitive tasks (auth, critical operations)
- Normal Workers: Process standard operations and deployments
- Batch Workers: Execute background jobs, scheduled tasks, and non-urgent operations
Each worker type can be scaled independently from 1 to 10 instances.
EXAMPLES
$ sfp server scale --tenant my-app --critical-workers 2
$ sfp server scale --tenant my-app --normal-workers 3
$ sfp server scale --tenant my-app --batch-workers 2
$ sfp server scale --tenant my-app --critical-workers 2 --normal-workers 3 --batch-workers 2
$ sfp server scale --tenant my-app --critical-workers 2 --ssh-connection [email protected] --identity-file ~/.ssh/id_rsaWorker Types
Critical Workers
Normal Workers
Batch Workers
Scaling Strategies
Scale Up for High Load
Scale Down for Maintenance
Gradual Scaling
Output Formats
Standard Output
JSON Output
Remote Server Scaling
Scaling Recommendations
Based on Load Patterns
Auto-Scaling Script
Performance Monitoring
Best Practices
Troubleshooting
Workers Not Starting
High Memory Usage
Last updated