More Than Asynchronous I/O, Introduction To Swoole PHP
By Bruce Dou
Swoole PHP is a coroutine based asynchronous network application framework. It is a PHP extension that extends PHP core and utilizes more power provided by Linux OS. Unlike the callback style single thread asynchronous I/O provided by the other networking libraries like Node.js, Swoole PHP has multiple asynchronous I/O threads and native coroutines to manage the execution of concurrent tasks. Other than asynchronous I/O and coroutine, we can also use the Linux system API and interface exposed by Swoole PHP, such as process management, system signals handling, timer and scheduler, poll and epoll I/O, memory management, etc.
Read in Full
This article was originally published in the October 2020 issue of php[architect] magazine. You can read the complete article at the following links. To see the full issue, please subscribe or purchase the complete issue.
Leave a comment
Use the form below to leave a comment: