Wikipedia Live
A live product on a real public firehose, built on n6k
Streaming. data.py subscribes to Wikimedia's
EventStreams (every edit on
every wiki, 50–100 a second) and does the work the browser can't: it reduces that
torrent to one clean row per second. Along the way Python tracks the rolling edit
rate, flags live surges against a moving baseline, and keeps a top-domains
leaderboard.
The browser only ever sees that 1 Hz stream. One connection opens it and fans it to three independent consumers (the KPI row, the rate chart, and the leaderboard), each repainting on its own as rows arrive. No aggregation runs client-side; every number below was computed in Python before it crossed the wire.