Re: [PHP-DEV] FPM: Three-Phase running idea for faster frameworks

2021-04-09 Thread Jakub Zelenka
Hi, On Fri, Apr 9, 2021 at 5:48 PM Mohammad Eftekhari wrote: > Hi and thanks for the latest great features. > > > Idea visualized: > > https://drive.google.com/file/d/1twuCTk2ssNl5damTydP-aOmOeJ5hWr9r/view?usp=sharing > > This is an idea and it's simple on the paper: *To run the requests coming

Re: [PHP-DEV] [8.1] Release Manager Election

2021-04-09 Thread Gunnard Engebreth
On 4/5/21 4:59 PM, Sara Golemon wrote: Happy Monday, everyone (unless it's Tuesday, in which case: Happy > Tuesday!); > > We've had an INCREDIBLE turn-out for PHP 8.1 Release Manager > selection this year. > > In the role of "Veteran" release manager, Joe Watkins[0] has kindly > stepped up

Re: [PHP-DEV] FPM: Three-Phase running idea for faster frameworks

2021-04-09 Thread Markus Fischer
On 09.04.21 20:22, André Hänsel wrote: Have you tried Roadrunner? I think your design is quite similar (identical?) to what Roadrunner does, only that your worker pool is managed by FPM instead of Roadrunner and that the worker exits after serving one request - which you *can* do with

RE: [PHP-DEV] FPM: Three-Phase running idea for faster frameworks

2021-04-09 Thread André Hänsel
Have you tried Roadrunner? I think your design is quite similar (identical?) to what Roadrunner does, only that your worker pool is managed by FPM instead of Roadrunner and that the worker exits after serving one request - which you *can* do with Roadrunner, but it's not recommended. -- PHP

Re: [PHP-DEV] FPM: Three-Phase running idea for faster frameworks

2021-04-09 Thread Harm Smits
Hey, I have seen this a while ago and it looks promising, however, I do have my fair share of concerns, namely: 1. We should be able to define some sort of TTL. What happens if no request comes for over an hour? Albeit this is *really* unlikely. 2. Why not implement a mechanism similar to `fork`

[PHP-DEV] FPM: Three-Phase running idea for faster frameworks

2021-04-09 Thread Mohammad Eftekhari
Hi and thanks for the latest great features. Idea visualized: https://drive.google.com/file/d/1twuCTk2ssNl5damTydP-aOmOeJ5hWr9r/view?usp=sharing This is an idea and it's simple on the paper: *To run the requests coming to PHP Frameworks in three phases. * Let's say FPM pool child processes

[PHP-DEV] Required parameter after optional one

2021-04-09 Thread Benjamin Morel
Hi internals, I'm wondering why PHP 8 started warning about required parameters declared after optional ones, when this version is the one that also introduced named parameters, which can take advantage of this: ``` function test($a = 1, $b) { echo $a, $b; } test(b: 2); ``` > Deprecated: