Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Laravel schedule with Swoole #524

Open
videni opened this issue Apr 13, 2022 · 1 comment
Open

Run Laravel schedule with Swoole #524

videni opened this issue Apr 13, 2022 · 1 comment

Comments

@videni
Copy link

videni commented Apr 13, 2022

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.

@mRamadan0101
Copy link

jobs are in difference times ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants