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

Implement Child Batching #11

Open
danhunsaker opened this issue Dec 11, 2018 · 4 comments
Open

Implement Child Batching #11

danhunsaker opened this issue Dec 11, 2018 · 4 comments

Comments

@danhunsaker
Copy link
Member

See chrisboulton/php-resque#35 for details and an early implementation.

In a nutshell, reuse job processes for up to X jobs rather than forking for every one.

@mfn
Copy link
Contributor

mfn commented Dec 11, 2018

In a nutshell, reuse job processes for up to X jobs rather than forking for every one.

The X-factor could be multiple conditions:

  • number of jobs executed
  • total runtime of the child
  • memory usage (i.e. only execute jobs as long as certain threshold isn't met)

Such a change is definitely a game changer for performance.

@danhunsaker
Copy link
Member Author

Indeed so! Looking forward to seeing what comes of this one.

@rajibahmed
Copy link

Hi @danhunsaker, I am busy these day. I will have install everything and start working on it from this weekend. Can we create slack or discord channel to talk realtime ?

@danhunsaker
Copy link
Member Author

That sounds like an excellent idea. I'll get you the details once that's created.

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

No branches or pull requests

3 participants