Skipper: Building Airbnb’s Embedded Workflow Engine
- Skipper
- MySQL
- Amazon DynamoDB
AI Summary
Airbnb shares the design and implementation of Skipper, an embedded workflow engine built to solve the durable execution problem without the operational overhead of external orchestration clusters. Designed for Java and Kotlin, Skipper uses the service's existing database for persistence, avoids network hops, and exposes workflows as plain code with automated checkpointing and compensation handling.
Key Takeaways
- Skipper avoids external orchestration cluster dependencies by embedding directly into services.
- Persistence is handled by the host service's existing database, such as MySQL or internal stores.
- Compensation is a first-class primitive using annotations to roll back actions on failure.
Why it matters
Durable execution is critical for long-running transactions like insurance claims and payments, but traditional orchestration tools introduce heavy infrastructure dependencies and operational complexity. Skipper provides a compelling alternative: an embedded workflow engine that runs directly inside services using existing databases, cutting out external clusters while maintaining reliability and simplifying domain logic.
Conversation0
What would you add from your experience?
Checking your session…
Every good conversation starts with one perspective.