Cayol Blake

Results 99 comments of Cayol Blake

Any luck? Is the project active 🤔

> This month, workman will create a V5 branch and supports [revoltphp/event-loop](https://github.com/revoltphp/event-loop) which supports fiber. Is v5 production ready? Does it support coroutines in any way?

That's good to hear. I also checked README.md on the v5 branch and couldn't find any additional information on the usage of the event-loop or how to create a coroutine....

Is it possible you could create an example code using `workerman` v5 and creating a coroutine? Thank would be really helpful. I can open a different issue if that will...

That's great. Thanks for the sample code. Is there a way to execute for example some heavy image processing code or a database query inside a coroutine? not just network...

I'm new to all of this, but, I just checked https://revolt.run/fibers and guess I can place a database query in a suspend-able function !? 🤔 I did not try that...

> In the same process, swoole and fiber not will not really execute code in parallel. From a certain point of view, they are still serial, but they are scheduled...

What is meant `Workerman v5 will supports swoole too` ? I assumed workerman is a replacement for swoole! How can they collaborate?

Okay, but, isn't Swoole only working through its own socket framework? Be it http or tcp or whatever implementation you're using!? 🤔

@mrAndersen I took a crack at this before trying out almost al possible techniques, and non was performing well and had a humongous overhead. Using APCu was the fastest way...