Introduction
Last updated
Last updated
Availability
✅
❌
From
December 24
sfp-pro-server is a backend service that provides essential functionality for managing Salesforce deployments, running background tasks, handling authentication, and storing deployment metadata. The server can be run as multiple isolated tenants, each serving different teams or purposes.
The sfp-pro-server Server consists of several key components:
API Server: Core application server providing REST APIs
Worker Services:
Critical Workers: High-priority tasks needing immediate processing
Normal Workers: Regular priority operations
Batch Workers: Background and non-time-critical tasks
Supporting Services:
Redis: Message queue and task orchestration
Caddy: Reverse proxy and SSL termination
The sfp-pro-server Server exposes several key APIs:
OAuth callback handling
Application token management
Salesforce org authentication management
Submit and manage background tasks
Support for immediate, scheduled, and recurring tasks
Priority-based task routing
Task status monitoring and cancellation
Key-value store for configuration
Collection-based document storage
Version-controlled document management
Operation-based log aggregation
Log retention and cleanup
The sfp-pro server provides comprehensive CLI commands for server lifecycle management:
sfp server init
- Initialize a new server instance
sfp server start
- Start tenant services
sfp server stop
- Stop tenant services
sfp server status
- Check service status
sfp server update
- Update to latest version
sfp server health
- Health checks and diagnostics
sfp server logs
- View and monitor logs
sfp server scale
- Scale worker services
For a complete list of server management commands, see the CLI Reference.