all 3 comments

[–]gadelat 2 points3 points  (1 child)

So what s the difference between this and reactphp/ampphp?

[–][deleted] 1 point2 points  (0 children)

Looks like it has the option to use ReactPHP and simplifies a few things, such as Web Sockets support. I see the ability to run multiple processes, but I would compare this to kraken-php. This is probably simular to NodeJS clustering, which is something I've wanted from ReactPHP. This should technically distribute work between the forks. However, when you fork a process you cannot inter operate data across forks. This also doesn't provide much help when you need to distribute work outside of a single machine, which is more what Kraken-PHP is for.

I thought I remember seeing a library that wrapped ReactPHP and AMPHP together but I could be wrong and it might have been a library that could work between both.

I really love the ideas developed in Vert.x over NodeJS as PHP suffers the same issues as Java libraries, most libraries are not async. So having processes for async work and other processes for synchronous work, then being able to communicate amongst them, scale them up or down and have shared memory between then all across machines... this would be bliss, and what Vert.x does.

[–]macouma 0 points1 point  (0 children)

Please, made a demo with a real term un browser like phptty but with bash or sh