Software Engineering Daily

Modern Distributed Applications with Stephan Ewen

207 snips
Jun 5, 2025
Stephan Ewen, founder of Restate and co-creator of Apache Flink, shares his expertise on building resilient distributed applications. He dives into the challenges of ensuring reliability and fault tolerance, discussing how traditional event-driven models can complicate debugging. Ewen highlights Restate's role as a durable execution framework, essential for microservices, and details the lifecycle of payment processing handlers. With insights on improving interaction latencies and the importance of consensus logs, he emphasizes the future of durable execution in revolutionizing system design.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Flink’s Limits Spark Restate

  • Flink users tried transactional event-driven pipelines on an analytical system with limited success.
  • This motivated Restate’s creation, targeting low-latency, transactional durable execution beyond analytics.
ADVICE

Think Services Not Queues

  • Use Restate as a reverse proxy that delivers durable, stateful, and resilient function invocations.
  • Think in terms of service handlers with durable invocations, not just queues and events.
ADVICE

Service Execution as Durable Events

  • Restate tracks every step of service handler execution as durable events logged to a consensus journal.
  • This supports retries, fencing, and consistent state across failures transparently.
Get the Snipd Podcast app to discover more snips from this episode
Get the app