The results:
Apache + mod_php: 10885 req/s, 9 ms per req.
Apache + php-fpm: 5694 req/s, 17 ms per req.
Nginx + php-fpm: 8193 req/s, 12 ms per req.
According to many benchmarks performed by others, Nginx + PHP-FPM should be much faster than Apache + mod_php, but I am seeing the opposite. What am I doing wrong?
start
и length
определяют как сервер должен получать выборку из СУБД. form:
- tag: label
attr:
body: I Agree
- tag: input
attr:
type: radio
name: agreement
checked: checked
value: yes
- tag: label
attr:
body: I don't agree
- tag: input
attr:
type: radio
name: agreement
checked:
value: no
- tag: input
attr:
type: submit
value: Submit