Tim Macdonald :: Thoughtful Performance
summary
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
chapters (7)
- 0:00Intro
- 1:11Do it at the same time
- 5:08Code impatiently
- 8:06Do it later
- 13:01Prevent lazy loading
- 18:17Cing
- 25:19Rate Limiting
related talks
31mNo more slow requests
01h 03mMaximising Performance With Zend Framework
39mLaravel: 7 Steps to Dramatically Improve Performance
50mImproving Application Performance with ReactPHP
48mBuilding Really Fast Applications
31mFrom Runtime to Resilience: Scaling PHP
28mTaking Laravel to the edge with HTTP caching & Varnish
25mWriting resilient code
