~/talk

Procrastination as a Service: Caching and Queueing

links:none on file
slides:none on file

Argues that deferring work—caching, queueing and websockets—is a practical performance strategy: uses Redis for in-memory caching and queues, shows a leaderboard and full‑page cache that cut repeated reads from ~2.5s to under 2s, and replaces slow synchronous email sending (8s) with queued jobs that respond in ~2s — about 73% faster. Covers cron jobs to prefill caches, background workers, retry/fault tolerance, use of HTTP 202 Accepted for “we’ll do it later,” and tradeoffs like initial cache write cost and stale data.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:07Why caching matters
  3. 10:03Redis as cache and queue
  4. 13:41Caching in practice with PHP
  5. 18:45Using cron for background caching
  6. 20:55When to delay data updates
  7. 22:51Full page caching benefits
  8. 26:31Queuing slow operations
  9. 29:00HTTP 202 Accepted explained
  10. 30:21Processing queued jobs
  11. 31:49Performance gains from queuing
  12. 33:53Queue everything you can
  13. 34:36Real-time updates with WebSockets
  14. 37:49Summary and Q&A
~/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.