laravel-swoole
laravel-swoole copied to clipboard
Run Laravel schedule with Swoole
Any guys try to run Laravel schedule with Swoole please? You know the schedule:run would run very job inside isolated process, which is not not practical, because I got 50,000 jobs to run. So I am wondering if we can run each job with Swoole Coroutine
Here are steps what I am going to do:
- Start Laravel console Kernel
- Run job with Coroutine instead of process.
- Use the Swoole timer to drive Laravel schedule
Any ideas will be appreciated.
jobs are in difference times ?