Execution Host
Standalone deployable for running app instances on remote machines.
Execution Host (distributed)
The Execution Host is a standalone deployable that runs app instances on remote machines. It exposes an HTTP API for the Controller to spawn and manage instances.
HTTP API
| Route | Method | Description |
|---|---|---|
/v1/spawn | POST | Spawn a new app instance |
/v1/stop | POST | Stop a running instance |
/v1/running | GET | List running instances |
/v1/status | GET | Get status of a specific instance |
/health | GET | Health check |
Deployment
Deploy the Execution Host on any machine that can reach the Controller. Use RemoteRuntime on the Controller to connect to it. For horizontal scaling, use ShardRouterRuntime to distribute across multiple hosts.
Next steps
- Runtime adapters — adapter reference
- Backpressure — capacity management