Durable workflow engines typically depend on external orchestration, adding overhead, write amplification, and complexity. This talk presents an alternative: a lightweight library-based engine that embeds into application code and checkpoints state directly to the database. We’ll share our experience building DBOS, a library-based engine designed for simplicity and efficiency. We’ll discuss the architectural trade-offs, challenges in failure recovery, and key optimizations for scalability and maintainability.
