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

[Feature][framework] Throttling total number of pipelines running in parallel #2473

Closed
2 of 3 tasks
klesh opened this issue Jul 12, 2022 · 1 comment · Fixed by #2569
Closed
2 of 3 tasks

[Feature][framework] Throttling total number of pipelines running in parallel #2473

klesh opened this issue Jul 12, 2022 · 1 comment · Fixed by #2569
Assignees
Labels
type/feature-request This issue is a proposal for something new
Milestone

Comments

@klesh
Copy link
Contributor

klesh commented Jul 12, 2022

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Currently, the pipelines are launched right after their creation, this leads to the following concerns:

  1. Users might want to limit the number of running pipelines to avoid race conditions.
  2. Users might want to limit the resource that DevLake is consuming.
  3. Running too many pipelines simultaneously might be too heavy for the IO system, which increases the probability of timeout exception.

@CamilleTeruel @hezyin Sending out requests in a short burst increases the probability of timeout exception.

Use case

  1. Some users wanted to limit the number of pipelines running in parallel to exactly 1, so they could dump tables from our MySQL database to Starrocks without worrying about race-condition
  2. Users might create pipelines as many as they need without crashing the system
  3. Users could adjust the number to balance the speed and stability

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@klesh klesh added the type/feature-request This issue is a proposal for something new label Jul 12, 2022
@klesh klesh added this to the v0.12.0 milestone Jul 12, 2022
@likyh
Copy link
Contributor

likyh commented Jul 12, 2022

OK, I'll take it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request This issue is a proposal for something new
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants