swoole / library

📚 Swoole Library
https://wiki.swoole.com/#/library
Apache License 2.0
233 stars 59 forks source link

Where was the Amp driver moved to? #88

Closed fabiocarneiro closed 2 years ago

fabiocarneiro commented 3 years ago

There was a file on https://github.com/swoole/library/blob/master/src/Swoole/Driver/Amp.php that was supposed to be the Driver for Amp. It is no longer there. Any idea of where it got moved to?

deminy commented 3 years ago

I did a quick search, and there was never such a file:

git log --all --full-history -- **/Amp.php

sy-records commented 3 years ago

The first commit to migrate from swoole-src to library is 19eac0a4, committed on 25 Nov 2019

But this link https://github.com/prooph/event-store-client/pull/64#issuecomment-445474265 , commented on 9 Dec 2018

fabiocarneiro commented 3 years ago

perhaps there was another repo with the same name before?

There was also a very similar URL for ReactPHP as you can see here https://github.com/reactphp/event-loop/issues/187#issuecomment-480571996.

Anyway, regardless of where it got moved to, is there any Amp Driver/Integration available?

sy-records commented 3 years ago

perhaps there was another repo with the same name before?

It should be, so we probably won't find it either...

fabiocarneiro commented 3 years ago

@sy-records I think it's safe to assume it was lost forever. Would you be able to check with the maintainers if someone remembers it or if someone can provide some direction on what it used to do or how it worked?

I am using a library that uses Amp, but my main application is running on Swoole. I have been away from PHP for roughly two years and Async in this language is something new for me. It will take some time until I know both libraries well enough to come up with my own solution (if it is even possible).

Right now I have two executables, but for a couple of reasons (like dependencies), it would be desirable to run the Amp dependent part on the Swoole executable.