Laravel Pulse: Behind the Scenes
summary
Laravel Pulse is an open source telemetry system built to capture every production request (targeting ~2 million/day) and deliver fast dashboards by combining a raw entries table with a pre-aggregated aggregates table. It uses MySQL for long‑term queries, optional Redis streams for ingest, and performs multi‑period pre-aggregated buckets via compound‑key upserts. On Laravel Forge data this collapses ~12M raw rows to ~360 rows queried (about a 97% reduction) and turns a timeout into ~1s responses.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:27Initial challenges
- 3:52Redis limitations
- 9:11MySQL database approach
- 16:13Aggregation strategy
- 22:11Pre-aggregated buckets
- 37:12Redis and scaling
- 38:54Q&A session








