~/talk

Laravel Pulse: Behind the Scenes

Talkat Laracon India 2024 · 2024-03-23..03-24· [developer-experience]
slides:none on file

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

  1. 0:00Introduction
  2. 1:27Initial challenges
  3. 3:52Redis limitations
  4. 9:11MySQL database approach
  5. 16:13Aggregation strategy
  6. 22:11Pre-aggregated buckets
  7. 37:12Redis and scaling
  8. 38:54Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.