Keyboard shortcuts

Press ← or β†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Shipping It Fast, At Scale

Most features in this book ship fine on ordinary PHP: a fresh process per request, a database query, a response, done. Then traffic grows, or one page turns out to be slow, and β€œit works” quietly stops being enough. This chapter is for the second phase, when performance has become a measured requirement rather than a worry.

A run of wide pipes with one short narrow section where droplets queue up. A small elephant with a stopwatch points at the narrow section while a person is about to tighten a valve on a wide part of the pipe

Three of the four pages are fixes. Read the fourth first: it tells you which fix you need.