Airbnb needed durable multi-step processes that survive crashes and wait for human input.
Using a central orchestration service added extra deployment, latency and operational overhead.
The team solved it by: 👉 Embed Skipper runtime and scheduler in each service replica 👉 Share a database for workflow state and scheduled work 👉 Use leases so another replica can take over failed tasks
The parts that matter: 1️⃣ Skipper - provides embedded durable workflow execution inside the service 2️⃣ MySQL adapter - persists workflow state in MySQL
Skipper is now available as open source under the Apache 2.0 license with core engine, adapters, test utilities and admin UI.
Embedding the engine means each service team must own workflow execution, database capacity and recovery, increasing their operational burden. Actions are only idempotent, not atomic, so side effects may be applied at least once and require careful design. Deterministic workflow code is required for correct replay.
How do you balance the operational cost of embedding a workflow engine versus using a shared orchestration service?