Top-K leaderboards: four windows, one config

One firehose, four leaderboards. Sliding (10s and 1min), tumbling (per-minute), and lifetime, all declared in a single live.aggregate({ windows }) block. Crank the speed slider; watch sliding twitch while the minute window resets sharply on the boundary and lifetime drifts up.

Bias

Last 10 seconds

sliding window, 1s hops

Waiting for first events...

Last minute

sliding window, 5s hops

Waiting for first events...

This minute

tumbling, resets each min

Waiting for first events...

Lifetime

never resets

Waiting for first events...