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

Added 4 concurrency processes to legacy compose #348

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

antoineludeau
Copy link
Member

@antoineludeau antoineludeau commented Dec 19, 2023

Context

To fix concurrency issues on new API (consumers can consume jobs in an order different than the order of the api calls), we are going to set pm2 to start only one worker.js process (modifying ecosystem.json)

Enhancement

In order to improve concurrency on the legacy "compose" this PR aims to switch concurrency number from 2 to 4 (everything will run on one node process).

@antoineludeau antoineludeau marked this pull request as draft December 19, 2023 17:10
@antoineludeau antoineludeau reopened this Dec 19, 2023
@antoineludeau antoineludeau force-pushed the antoineludeau/worker-concurrency branch from c2c77e5 to 8aecbcb Compare December 19, 2023 17:42
@antoineludeau antoineludeau force-pushed the antoineludeau/worker-concurrency branch from 8aecbcb to e0a54bb Compare December 19, 2023 17:44
@antoineludeau antoineludeau marked this pull request as ready for review December 19, 2023 17:45
@antoineludeau antoineludeau changed the title Added 8 concurrency processes to legacy compose Added 4 concurrency processes to legacy compose Dec 19, 2023
@antoineludeau antoineludeau self-assigned this Dec 20, 2023
@antoineludeau antoineludeau merged commit 67e8081 into master Dec 20, 2023
@antoineludeau antoineludeau deleted the antoineludeau/worker-concurrency branch February 6, 2024 12:45
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

Successfully merging this pull request may close these issues.

2 participants