Re: Add viable long running execution model to php 8
| From: | Dik Takken | Date: | Sat, 25 Jan 2020 22:35:28 +0000 |
| Subject: | Re: Add viable long running execution model to php 8 | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108248@lists.php.net to get a copy of this message | ||
On 25-01-2020 23:03, Mike Schinkel wrote:
> Then we could look to prior art with GoLang channels where they "Communicate to share
> memory" and do not "Share memory to communicate." IOW, add an API that allows a
> regular PHP page to communicate with a long-running page. This would decouple and allow for better
> testing, and hopefully fewer hard to track down bugs.
Go channels are about solving problems related to true concurrency:
Multiple threads concurrently handling requests in a single shared
memory environment. I think Robert is talking about sequential request
handling in a single shared memory environment.
Regards,
Dik Takken