Patterns for Building Event-driven Web & Mobile App Backends
summary
Shows concrete, deployable patterns that replace polling with async subscriptions using AppSync + EventBridge + DynamoDB Streams, API Gateway WebSockets, and IoT Core (MQTT); includes a BFF-backed demo (source on GitHub) that runs a mock order simulator, polling set to 15s, websocket connections held up to 2 hours, and serverless orchestration via Lambda and Step Functions calling Bedrock for long-running LLM work. Live demo mostly works though AV hiccups and a React reconnect bug appear during the demo.
AI-written summary · about
chapters (11)
- 0:00Intro
- 4:51User interfaces
- 7:33Bonus pattern
- 15:52Real-time events Pattern 1
- 22:51Real-time events Pattern 2
- 29:13Real-time events Pattern 3
- 33:04Real-time events Pattern 4
- 36:29Demo
- 39:58Long running processes
- 43:24Push (notification) events
- 46:55Outro
related talks
53mAppSync: Build real-time app experiences with modern GraphQL APIs
41mModel-View-Websockets
39mBuilding next-gen applications with event-driven architecture
34mPower real-time serverless applications with GraphQL and AWS AppSync
35mServerless WebSockets at Scale
35mConvergence of Serverless APIs & Compute
37mBuild next-gen applications with event-driven architectures
39mArchitecture of scalable and resilient NodeJS apps with GraphQL & event-driven serverless
