Online vs batch: two worlds
Online vs batch: two worlds
Online
ask, answer fast
metric: response time
runs for milliseconds
must stay available
mutates live data
Batch
immutable in, derived out
metric: throughput
runs for hours or days
rebuilds output from scratch
never mutates input
One contract, three gifts
time travel to older outputs
human fault tolerance plus safe task retries