~/talk

Massively Scaled High Performance Web Services with PHP

Talkat PHP UK Conference 2019 · 2019-02-20..02-22· [php, devops-and-delivery]
slides:none on file

Design Home runs PHP 7 behind nginx in Docker images on Amazon ECS serving over 1 million DAU and ~100,000 requests per minute with median responses around 56 ms. The stack uses Composer, New Relic, Redis and Couchbase for hot storage, Docker base images pinned to PHP versions, supervisorD to run nginx + php-fpm, and auto-scaling EC2 instances. Performance wins come from background work via fastcgi_finish_request, tuned gzip and proxy settings, Redis pipelining and persistent PHP Redis, and disciplined Docker images in ECS and Couchbase and Redis usage.

AI-written summary · about

  1. 0:00Start
  2. 7:141.1. Decouple Microservices
  3. 10:011.2. Dockerized Microservices (cont.)
  4. 13:301.3. Development Tools Integration
  5. 16:122.1. Background Processing (cont.)
  6. 21:2822. HTTP Compression
  7. 22:3622 HTTP Compression (cont.)
  8. 31:273.3. Faster PHP Drivers (Redis)
  9. 36:184.1. Deployment with Amazon ECS (cont.)
  10. 39:5542. Hardware Upgrade
~/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.