laravel-swoole icon indicating copy to clipboard operation
laravel-swoole copied to clipboard

Run Laravel schedule with Swoole

Open videni opened this issue 3 years ago • 1 comments

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:

  1. Start Laravel console Kernel
  2. Run job with Coroutine instead of process.
  3. Use the Swoole timer to drive Laravel schedule

Any ideas will be appreciated.

videni avatar Apr 13 '22 01:04 videni

jobs are in difference times ?

mRamadan0101 avatar Apr 16 '22 00:04 mRamadan0101