Prebuild backend workflows: Xstate meets ReState from Sai Parachi & Sean Jepson


Details
JavaScript has been proven to power critical backend services, APIs, and business logic across countless production systems. However, as backend responsibilities increase, so do the challenges: coordinating complex business processes, handling failures gracefully, and guaranteeing retries when things inevitably go wrong.
In this talk, we’ll dive into how combining XState, a library for modeling robust state machines, with Restate, a durable execution engine for reliable workflows, can help you build resilient backend systems in JavaScript.
We’ll cover
- How to use XState to model business rules and long-running flows.
- How typical async code and promise chains fall short when handling retries, idempotency, and crash recovery.
- How Restate provides durable orchestration and state persistence so your processes survive server restarts and network hiccups.
A practical demo
As always, the meeting is free.. Looking forward to seeing you!!
Gaelen

Every 1st Tuesday of the month
Prebuild backend workflows: Xstate meets ReState from Sai Parachi & Sean Jepson