Re: Single Point of Entry Apps.
| From: | Daniel Morris | Date: | Thu, 08 Sep 2016 15:11:03 +0000 |
| Subject: | Re: Single Point of Entry Apps. | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-95804@lists.php.net to get a copy of this message | ||
On Mon, 5 Sep 2016, at 06:47 PM, Andrea Faulds wrote:
> Hi Michael,
>
> Have you looked into PHP application servers, where the PHP code itself
> acts as the web (or FastCGI) server, and so can keep the whole framework
> etc. initialised in memory between requests?
>
> This is how other (non-PHP) web stacks avoid “installing the application
> on every single request”, and it can also be applied to PHP, it's just
> not very common.
>
> One example is Aerys (https://github.com/amphp/aerys), but it's hardly
> the first or the last example of this approach.
>
> Thanks.
I'm sure I remember reading somewhere that fabpot was working on one in
Golang? Something similar to Unicorn or Puma from the Ruby ecosystem
would be a boon.
--
Daniel Morris
daniel@honestempire.com