Mezzio swoole/openswoole – determine if we are in a worker or task worker process

I’m a huge fan of swoole/openswoole for php as It solves a lot of hard scalability problems for us that is hard to solve otherwise in php. One of these problems is connection pooling. Why use connection pools for your redis or mysql connections? – but for speed of course! it takes relatively significant amount … Read more

configure Mezzio swoole/openswoole to use monolog for access logging and error logging

I tend to favor Mezzio micro framework for highly available PHP projects for it’s close adherence to PHP standards and following dev best practices – coupled with swoole/openswoole library for all things concurrency && async – this makes a mean performance machine. Anywho – out of the box mezzio swoole logging comes with some default … Read more