Counting things, very fast, on the Internet
summary
Builds a real‑time stats server for adaptive learning and gamified features using Redis and embedded Lua scripts, pushing changes over pub/sub to WebSockets (pusher). Claims per‑event work is denormalize‑on‑write so reads are cheap, with atomic Lua scripts providing isolation; updating ~55 keys costs ~7–8 ms, 250 keys ~7 ms in demo. Covers once‑only event guarantees, recovery by replaying short windows, and cheap leaderboard notifications when rank changes.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 0:38Realtime stats
- 3:00Why use Redis
- 4:52Denormalisation
- 10:05WebSocket
- 19:23Red Redis
- 26:15Health checks
- 29:00Sets
related talks
27mBehind the Keys: Redis Oyster Cult
10mRedis, databaza në memorie me shumë përdorime
33mIntroduction to Redis
29mTracking Millions of Ganks in Near Real Time
48mHyper Speed! When Big Data Blooms
41mHigh Volume Ratelimiting with Redis
45mReal Time Analytics with MongoDB
38mPostmortem: Evolution of an Event recording solution
