~/talk

Apache, nginx, Docker and the Swear Words We Love

TalkinItalianat laravelday 2024 · on Thursday, 2024-11-07· [web-performance, devops-and-delivery]
links:none on file
links:none on file
slides:none on file

An Italian talk reports performance troubleshooting during upgrades from Laravel 8 to 11 and PHP 7 to 8 when moving to Docker in production: enabling OPcache restored and improved throughput (from ~280 to ~670–800 req/min), while a non-Docker AMI reached ~850 req/min. Redis failures caused by an Elasticache DNS issue were fixed by using persistent Redis connections (connections fell from ~4000 to ~20). Web server and runtime comparisons include Apache vs nginx (1594 vs 1642 req/min), Octane+FrankenPHP with 15 workers (~1719 req/min), and a FrankenPHP static build that reduced API latency from 167 ms to 27 ms.

AI-written summary · about

  1. 0:00Introduction
  2. 3:01Why we started with deployments
  3. 5:52Laravel 8 to 11 migration disaster
  4. 8:59Docker performance issues
  5. 11:05OPcache disabled
  6. 13:16Redis bottleneck and DNS problem
  7. 15:25Troubleshooting for stable performance
  8. 15:46Apache vs Nginx performance
  9. 19:37Git JIT tests poor results
  10. 22:04Octane and FrankenPHP solution
  11. 26:19FrankenPHP static build fast response
  12. 29:36Final ranking and Docker thoughts
  13. 31:46Q&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.