Joan Miquel
Joan Miquel
We have an async mysql connection https://github.com/rryqszq4/ngx_php7/blob/master/t/lib/mysql.php But the biggest cost is the time connecting via TCP to the db. Any persistent app use a pool of connections, so they...
> In php, set upstream connection pool size. Please, could you explain a little more what is it and what do ? Than you.
Try to add server-side prepared statements. Info: https://dev.mysql.com/doc/refman/8.0/en/sql-syntax-prepared-statements.html https://dev.mysql.com/doc/refman/8.0/en/c-api-prepared-statements.html
I am trying that: ```
Hi, I want to `require`(`include`) a file in the `init_worker_by_php`, but later I can't use the functions in the file. Example ``` init_worker_by_php ' require "app.php"; '; server { listen...
When there are errors never return a 4xx or 5xx. Always return a socket read error. So we don't know if it is a problem with PHP or with the...
## PHP 8.1 As the `ppa:ondrej/php` include now `php8.1-rc5`, I'm starting to test the frameworks for the benchmark. PHP 8.1 final will be released 25th of this month. If you...
[Fortunes Requirements ](https://github.com/TechEmpower/FrameworkBenchmarks/wiki/Project-Information-Framework-Tests-Overview#fortunes) It's obvious that want to test server-side templates, XSS countermeasures,... and that it need to be executed in each request and not test the template cache. And...
### Why? For the kernel. The new kernel in 22.04 fix a lot of performance degradation, from the Spectre / Meltdown Mitigation security fixes. That we noted from round [18](https://www.techempower.com/benchmarks/#section=data-r18&hw=ph&test=fortune)...
Some frameworks bypass the template engine. I understand it in platforms. But in micro and full frameworks they have a template engine. If they don't use it for the fortunes,...