[php-src] Issue #12526: Feature or Question - Distributed PHP instances
| From: | juan-morales | Date: | Thu, 26 Oct 2023 12:01:42 +0000 |
| Subject: | [php-src] Issue #12526: Feature or Question - Distributed PHP instances | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-245653@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/12526
Author: juan-morales
### Description
Imagine a request comes to NgInx, then we process the request in PHP .... suddenly while execution
of PHP is running, we dont have more resources in the server , so we need to process that PHP code
on other server with more resources.
How can we "move" the complete PHP process to another server with more resources and then
send back the result ?
this is like having a distributed php infrastructure, behaving in a dynamic way.
how can we achieve something like this?
or maybe one piece of code needs to run in another server because of resources or something like
that.
My question is .... what do we need to provide PHP some functionality like the distributed
programming languages?
It could be achieve with long running PHP instances and using MPI for example (I imagine) but ...
ideas on this ? Maybe I am crazy