PHP Swoole has gained traction during the past several years. More and more people are interested with started to try PHP Swoole and use coroutine in PHP to build high performance, large scale web services, online game, micro-services.
Twitter: @doubaokun Mapping real world problems onto machine with several levels abstraction with real world limitations in mind about management and structure
“Coroutines are computer components that generalise subroutines for non-preemptive multitasking, by allowing execution to be suspended and resumed.” - Wikipedia Twitter: @doubaokun
Twitter: @doubaokun Common pitfalls • Looking to run it on M$ Windows • Trying to run it with PHP-FPM • Stateless mind • Variable scope: super global, global, static, local variables • Blocking within Coroutine context • Exception handling • Exit