CUSUM Change Detection: Stream, Statistic and Alarm Strip Chart (2D)
Strip chart of a data stream, its CUSUM statistic and the alarm threshold, driven by the same shared model as the 3D tube: average run length ARL0 and ARL1 from the integral equation, Siegmund approximation and Monte Carlo checks.
Big-data systems answer queries over data that never stops arriving, which forces a tradeoff between latency and exactness. This simulator renders that tradeoff as a live 3D pipeline: events fall down an append-only log, split into a fast speed lane that updates an approximate running estimate on every event, and a slow batch lane that accumulates in a bucket and periodically recomputes an exact aggregate from scratch. A serving-layer podium merges both into a single number using the real reconciliation formula distributed systems use — anchor to the last exact recompute, then add only the delta the fast layer has seen since — with a ghost marker showing the true value so you can watch the error shrink every time a batch fires. A one-click toggle swaps the whole pipeline from Lambda architecture (two separate engines) to Kappa architecture (one stream engine that "recomputes" by replaying the log through itself), showing exactly why Kappa is simpler but never quite as exact.
Strip chart of a data stream, its CUSUM statistic and the alarm threshold, driven by the same shared model as the 3D tube: average run length ARL0 and ARL1 from the integral equation, Siegmund approximation and Monte Carlo checks.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install