Do Developers Dream of Stateless Apps?
summary
Defines state vs stateless, then gives hands‑on specifics: zookeeper needs quorum so three instances must be spread across fault domains or two racks can kill a 3-node quorum, sticky sessions tie clients to one server and awfully stateful setups fail on node loss, and combining independent 99.99% services multiplies downtime (overall availability drops). Shows Azure SQL failovers that historically take 5–10 minutes and cause transient errors while Cosmos DB multi‑region failover completes without observable errors in tests; recommends planning placement, retries, and SLA math.
AI-written summary · about
chapters (38)
- 0:00Intro
- 0:25Panther Science Fiction PHILIP K. DICK
- 2:34STRATEGY
- 3:39State - computer science
- 4:07State, state everywhere
- 4:31Fully Stateless
- 5:04Stateful or Stateless?
- 6:08Fully Stateful
- 7:17High availability - strategi
- 8:23Multi-region - basic units
- 8:38Multi-region Azure vs AWS
- 9:27VM Placement Strategies
- 12:18Why should we care?
- 13:48So let's scale Zookeepers!
- 14:30Highly Available Cloud Services
- 15:00Scalability
- 16:07Active Geo-Replication
- 16:56Failover groups
- 21:32Demo time!
- 22:25But there is a hope...
- 22:38Amazon RDS
- 23:15Cosmos DB
- 28:52Amazon DynamoDB
- 29:27Locally-redundant storage
- 30:16Read-access GRS
- 30:28Azure Storage V2
- 31:41Azure queue
- 33:30Storage - experience
- 34:22Proxy
- 35:08Dynamic approach
- 35:40SLA - Service Level Agreement
- 36:42Uptime and downtime with 99.9 % SLA
- 37:23Uptime and downtime with 99.999 % SLA
- 38:19Uptime approach
- 38:56So let's go multiregion!
- 39:08Multiregion SLA
- 42:15Call to action!
- 44:54Slides and code
related talks
57mThe State of State
51mExploring Stateful Microservices in the Cloud Native World
28mArchitecture Patterns To Enable Stateful Communication Over Stateless Serverless Apis
26mExploring State Management in Phoenix LiveView
08mWhen Worlds Collide: Frontend vs Database
39mDealing with eventual consistency
24mPanel discussion about state management
42mState Management in Blazor Apps
