#Backend

Skipper, Airbnb’s embedded workflow engine, is now open source

Skipper, Airbnb’s embedded workflow engine, is now open source
01

Summary

No External Cluster Needed: Airbnb Open-Sources Skipper, an Embedded Workflow Engine

Run durable workflows in-process using Java or Kotlin with existing databases and zero extra orchestration dependencies.

Airbnb has open-sourced Skipper, an embedded durable workflow engine powering critical backend processes across the company. Designed to run as a library inside existing JVM applications, Skipper eliminates dedicated orchestrator clusters by leveraging in-process execution, shared service databases, and deterministic replay.

  • 01Embedded engine architecture operating inside application service replicas without central orchestration clusters
  • 02Express workflows and side-effecting actions as clean Java or Kotlin classes
  • 03Reliable failure recovery through state checkpointing and deterministic code replay
  • 04Includes Kotlin DSL (Skipper State Machine) for state and event-driven transition logic
  • 05Open-source release under Apache 2.0 with MySQL/SQLite adapters and test utilities

RECOMMENDATION

Highly recommended for Java and Kotlin backend developers looking to implement fault-tolerant, durable workflows without introducing complex external orchestrator dependencies like Temporal or Cadence.

The Problem

Implementing multi-step, resilient business processes across services traditionally required dedicated external orchestration clusters or custom polling loops and state tables, introducing operational overhead and additional infrastructure dependencies.

The Solution

Airbnb developed and open-sourced Skipper, an embedded workflow engine for Java and Kotlin services that runs directly inside the application process. Skipper persists execution progress to the existing service database and uses checkpoints with deterministic replay to recover from failures.

The Result

Eliminated the need for a separate orchestration cluster tier, reduced inter-service network hops, and streamlined complex workflow management across multiple production teams at Airbnb.

Trade-off

Workflow execution responsibility and database capacity management shift to individual service teams. Because checkpointing is batched by default, recovery after a crash may re-execute previously completed actions, requiring side effects to be strictly idempotent.

03

Key Concepts

Concept · 01

Embedded Workflow Engine

A design pattern where workflow execution and scheduling run in-process as a library within the application rather than depending on a separate orchestration tier.

  • Skipper operates within service instances and shares the application's existing database for state management.
  • Removes network round-trips to external coordinators between workflow steps.
Concept · 02

Checkpoint & Replay

A recovery mechanism that saves execution progress at specific checkpoints and re-executes workflow code from the beginning upon restart while returning cached results for completed steps.

  • Batches action checkpoints by default to minimize database write traffic.
  • Restores execution context seamlessly after service redeployments or host crashes.
Concept · 03

Deterministic Code Execution

A constraint requiring workflow logic to produce identical step sequences during replay, keeping non-deterministic calls outside the main workflow flow.

  • Clock reads, randomness, and external I/O must be isolated inside Actions or explicit checkpoints.