Durable Exec. in Serverless Arch.: Cloudflare, SpringBoot & Dapr
summary
Shows a working goose-sticker store that ties Cloudflare Workers + Durable Objects for websocket state to a Spring Boot order workflow running on Dapr on Kubernetes; orders stream in (demo hits ~24 concurrent users and dozens of live orders), workflows persist to an append-only state store, support timers and configurable retries, and resume after crashes. Code and deployment are in the JNation 2025 repo (Salavoy on GitHub); the demo uses Hono, Drizzle, D1/Neon/Supabase and Cloudflare AI bindings.
AI-written summary · about
chapters (20)
- 0:00Introduction to presenters
- 0:42Why durable executions matter
- 2:06Serverless vs Kubernetes tradeoffs
- 4:14Cloudflare Durable Objects explained
- 7:02Kubernetes workflow limitations
- 8:49Handling failures in distributed apps
- 10:12History of workflow orchestration
- 11:36What is a workflow?
- 12:38Durable execution pattern
- 15:48Decoupling execution for resilience
- 16:50Cloudflare workflows demo
- 18:13Dapr workflows introduction
- 20:01Common workflow patterns
- 23:36Cloudflare code walkthrough
- 27:05Dapr Java Spring Boot demo
- 30:15Choosing between platforms
- 31:19Goose sticker store demo setup
- 34:06Live sticker shop demonstration
- 37:36Wrap-up and key takeaways
- 38:17Q&A session begins
