Batches - Unifying RPC, WS and Database Access
summary
Proposes a language-level batch block that the compiler partitions into a small server-side script and a client-side continuation, yielding one round-trip for mixed RPC/DB/WS code and eliminating proxies and object serialization; only primitive script/result trees cross the wire. Prototype includes a Java/OpenJDK patch and a simple 568-line script interpreter plus a SQL generator; it guarantees a constant number of queries (no N+1 problem) and compiles hybrid routines into inlined remote versions, currently released as an alpha.
AI-written summary · about
chapters (14)
- 0:00Intro
- 1:20How do we add distribution capabilities
- 2:50Example
- 5:40Serialization
- 10:50Batch
- 17:38Batch Script
- 21:27Batch Providers
- 24:25Batch Tangling
- 26:20Batch to Server
- 27:37Batch Methods
- 29:07Exceptions
- 30:47Transactions
- 32:37Landed
- 33:26Alpha release
related talks
42mRe-architecting Your Batch Processing with Domain-Driven Design
40mContinuations on the Web and in your OS
52mA New Programming Model for Full-Stack Distributed Systems
47mTo Batch Or Not To Batch
49mReactive microsystems
49mFull Rundown
38mAdvanced API Design for Scalable Distributed Systems
01h 03mThe Power of the Paradigm
