P99 From 280 ms to 58 ms by Making the Queue Fair
ePHPm had the best throughput in a Laravel runtime comparison and the worst tail of the fast group. The cause was a bounded channel that let new requests cut in line.
A third-party Laravel runtime comparison put ePHPm’s worker mode at the top on
throughput. It was about 19% ahead of FrankenPHP on /api/static. It was also at the bottom of the fast group on tail
latency, with a P99 of 157 ms against FrankenPHP’s 57 ms. Best throughput plus the fattest tail is a shape worth
chasing, because fast execution can’t produce it. Making requests faster lowers the mean and the tail. Only waiting
can pull them apart. Specifically, unfair waiting.
