Swoole is an event-driven asynchronous & concurrent networking communication framework with high performance written only in C for PHP.
The network layer in Swoole is event-based and takes full advantage of the underlaying epoll/kqueue implementation, making it really easy to serve thousands of connections.
On the request processing part, Swoole uses a multi-process model. Every process works as a worker. All business logic is executed in workers, synchronously. With the synchronous logic execution, you can easily write large and robust applications and take advantage of almost all libraries available to the PHP community.
Unlike traditional apache/php-fpm stuff, the memory allocated in Swoole will not be free'd after a request, which can improve performance a lot.
Swoole alternatives and related libraries
Based on the "Frameworks" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Swoole or a related project?
Have you used Swoole? Share your experience. Write a short recommendation and Swoole, you and your project will be promoted on Awesome PHP.
Recently added Swoole resources
Be the first to add one!