We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Everybody is good, have know swoole this open source project

Everybody is good, have know swoole this open source project?

If you know this project, how to integrate with phalcon swoole in use together, that is the role of the PHP - FPM replaced with swoole.

I know another c extensions framework yaf with swoole integrated together.

The project name is called swoole - yaf, github the connection address.

Bala bala said so much, is that I wish to phalcon community can also integrate a phalcon - swoole project.

Just because the coding level is limited, but want to experience swoole with phalcon speed, hope the great god can make a come out, thank you very much

I think this post probably a product of Google translate from Chinese. "Everybody is good" (大家好 - da jia hao) is Chinese for "Hi everyone, hope you are well" or just "Hi everyone".

I don't know much about swoole, here is their github page - https://github.com/swoole/swoole-src, yaf appears to be a 3rd party framework built for swole, a boiler plate skeleton structure, I'm not sure. (In Chinese) https://github.com/LinkedDestiny/swoole-yaf



2.2k

@edwardhew Thank you for your translation. :-)

I am the author of swoole-yaf and maybe I can help you. However, I don't have time to do this because I need to finish my graduation design. Perhaps I will finish this project in October.



5.2k

HI Lancelot,

Glad to see you here.And we are appreciate your good job.

I am the author of swoole-yaf and maybe I can help you. However, I don't have time to do this because I need to finish my graduation design. Perhaps I will finish this project in October.



7.9k

Basically you run any PHP framework for swoole!

Just remember to bootstrap your app before start swoole server. Since object that you created in bootstrap isn't free'd after request-response life cycle is tbetter to register singleton object in container.

As my first impression to swoole, it damn fast! but unfortunately all docs are in Chinese :(



992

I'm creating a project that make phalcon compatible with swoole.

Welcome to join me.

https://github.com/HessianZ/phalcon-swoole



5.0k

Has anyone run their phalcon website on top of swoole? looking at the performance of swoole is really interesting.

https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=fortune

Just like to know if anyone did this in production, are there any pros and cons. Thanks

edited Jun '19

To take full advantage of swoole you need to rewrite your app to make usage of coroutines.

The most effective way of controlling the display area of flash messages in a volt template of antenna reviews is to use PhalconFlashSession? I assume this may be performed with the aid of overwriting