~/talk

Tim Macdonald :: Thoughtful Performance

Talkat Laracon EU 2024 · 2024-02-05..02-06· [laravel, php, web-performance]
slides:none on file

Shows concrete Laravel tactics: use HTTP pool and Process::concurrently to shave three serial HTTP/process calls to about one second, adopt Spatie Fork to parallelise PDF/Excel/database work on the queue, set connection and response timeouts to avoid 30s waits, use dispatchAfterResponse to report errors and write admin logs after delivering fast responses, instrument views and total-db-time thresholds to log slow queries, implement stale-while-revalidate caching plus scheduled warmers, and combine per-second + per-minute rate limits to prevent 239-request bursts.

AI-written summary · about

  1. 0:00Intro
  2. 1:11Do it at the same time
  3. 5:08Code impatiently
  4. 8:06Do it later
  5. 13:01Prevent lazy loading
  6. 18:17Cing
  7. 25:19Rate Limiting
~/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.