Orchestration
Orchestration
Running a single process is easy. Running a system where Service A depends on Service B, and Service B needs to be updated without downtime, is hard.
Super simplifies this with built-in orchestration primitives.
In this section
- Dependencies: Define startup order and topology.
- Health Checks: Ensure services are actually ready, not just running.
- Lifecycle Hooks: Run scripts before or after process events.
- Events: The event system — types, history, and hooks.
- Atomic OTA Updates: The fail-safe mechanism for updating binaries.
Events
Super’s event system has three layers — what is emitted, how it is recorded, and how you react:
- Event Types: Complete catalog of daemon events and their payloads.
- Event History: How events are persisted, retained, queried, and audited.
- Event Hooks: Local scripts or webhooks on system events (JSON on stdin).