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

feat(worker): parallel execution #90

Closed
wants to merge 5 commits into from
Closed

Conversation

Guikingone
Copy link
Owner

@Guikingone Guikingone commented May 3, 2021

Q A
PHP version? 8.0 (new minimal)
Bundle version? next (as minor)
New feature? yes
Bug fix? no
Discussion? #65

Context

The current worker implementation works pretty well but can slow down some project due to the facts that we cannot execute tasks in a parallel approach.

The idea of this PR is to introduce a "Parallel worker" that can execute tasks in separate socket / process.

Considering the actual PHP limitations, the spatie/fork library can be a good idea: https://github.com/spatie/fork

Expected behaviour

Stack trace

Additional informations

@Guikingone Guikingone added PHP Improvement Build Related to vendors and dependencies BC breaks labels May 3, 2021
@Guikingone Guikingone added this to the Next (as minor) milestone May 3, 2021
@Guikingone Guikingone self-assigned this May 3, 2021
@Guikingone Guikingone force-pushed the feat/parallel_worker branch from 93267fa to 2316400 Compare May 6, 2021 07:33
@Guikingone Guikingone linked an issue May 6, 2021 that may be closed by this pull request
@Guikingone Guikingone changed the title feat(worker): parallel execution started feat(worker): parallel execution May 6, 2021
@Guikingone Guikingone modified the milestones: Next (as minor), 0.5.0 May 12, 2021
@Guikingone Guikingone modified the milestones: 0.5.0, 0.6.0 Jun 7, 2021
@Guikingone Guikingone closed this Jun 17, 2021
@Guikingone Guikingone deleted the feat/parallel_worker branch August 18, 2021 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant