Traditional php-fpm require vender file for every time, This not only consumes CPU and disk I/O, Even if opcache is used, it loads a large number of files. It's also a waste of time and resources. So write kernel to memory, Reduce file access, Only keep build requests. This can save a lot of resources
- Reduce access to cpu
- Reduce access to disk I/o
- Reduce db socket build
composer require design/laravel-cli
php artisan cli:workerman start
php artisan cli:workerman stop