Re: Async operating in PHP
| From: | bruno@chalopin.fr | Date: | Tue, 25 Feb 2014 19:22:18 +0000 |
| Subject: | Re: Async operating in PHP | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-72812@lists.php.net to get a copy of this message | ||
Hi,
Le 25 févr. 2014 à 18:11, Daniel Lowrey <rdlowrey@php.net> a écrit :
> That said, you can absolutely implement this yourself right now in userland
> using tools like pecl/libevent, pecl/ev or even your own custom userland
> loop via stream_select(). There are many people doing this quite
> successfully already and using the available extension it's possible to
> write non-blocking event-looped applications that are every bit as
> performant as node.js.
There’s http://reactphp.org/ for example.
Completely aggree that there’s already pecl/libevent and pecl/ev for that. It’s a userland job
or eventually a pecl/ext if necessary.
Regards,
Bruno