Distributed Async Await • A new programming model for the cloud
summary
Cloud async-await extends to multiple processes by persisting durable promises with stable IDs in a database so cross-process calls form one coherent call graph, propagating values and errors and enabling restart-and-resume semantics. Paper-backed scale: a 7-day Alibaba trace of 20,000 microservices shows 10% of call graphs exceed 40 hops. Practical limits: AWS Lambda 15‑minute timeouts and a 10→0 countdown that would run 2h15m if naive (twilio send ≈500ms) motivate the model. An SDK (available for JavaScript TypeScript Python plus optional server component, GitHub linked) implements the model and demonstrates recovery and call-graph repair in examples.
AI-written summary · about
chapters (26)
- 0:00Introduction
- 1:12Highly distributed apps
- 2:18From pets to cattle to family
- 4:04Long-lived executions
- 5:28Developer pain in distributed systems
- 7:16Abstractions and dev experience
- 9:48Recursive abstractions
- 10:52Good vs bad abstractions
- 11:33Distributed computing fundamentals
- 12:39Evolution of programming models
- 15:52Async/await basics
- 16:56Shift to distributed programming
- 18:21Distributed async/await solution
- 19:48Key requirements
- 20:29Durable executions
- 23:42Limitations of durable systems
- 24:46Extending async/await
- 27:14Async/await core concepts
- 30:29Async/await shortcomings
- 34:42Formalizing distributed structure
- 36:55Recovery formalization
- 37:15Case study: local vs remote
- 38:19Case study: countdown timer
- 42:15Sequential vs event-driven problems
- 46:08Distributed async/await for timer
- 47:14Q&A
related talks
22mAsynchronous Computing at Scale: Overview and Learning
42mHow to build distributed systems in JavaScript
44mBuilding Distributed Applications with Event-driven Architecture
13mLightning Talk: Wildly Distributed Programming: Wasm and the Future of Distribute...
49mNeed for ASYNC: in pursuit of scalable internet-scale applications
44mFrom Synchronous to Asynchronous Distributed Microservices
16mPreview: Cloud Computing
01h 07mThe Asynchronous C++ Parallel Programming Model
