ngx-php
ngx-php copied to clipboard
Performance benchmark?
First of all, fantastic work. I have been using nginx lua module for a long time, but I'm more familiar with PHP so it would be great to use PHP. Since nginx is all about performance, I wonder how this module performs? Also, with the new PHP JIT (8.0), can we take advantage of JIT just like lua jit?
The last benchmark from techempower:
Comparing only php-ngx vs OpenRestry
Using php7.4 without JIT, the next week we will try with php8 and JIT.
https://www.techempower.com/benchmarks/#section=data-r20&hw=ph&test=fortune&p=zik073-zik0zj-zik0zj-zg24n3-1ekf&c=1

At 128 concurrent connections OpenRestry don't scale more.