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(dlm):support configuring limiter #626

Merged
merged 9 commits into from
Oct 26, 2023

Conversation

guowl3
Copy link
Collaborator

@guowl3 guowl3 commented Oct 25, 2023

What type of PR is this?

type-feature

What this PR does / why we need it:

The current task current limit configuration can only be modified in the metadb, which is not user-friendly. Now users are allowed to configure it on a white screen.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Additional documentation e.g., usage docs, etc.:


@guowl3 guowl3 added the type-feature The functionality to be implemented label Oct 25, 2023
@guowl3 guowl3 added this to the ODC 4.2.2 milestone Oct 25, 2023
@guowl3 guowl3 self-assigned this Oct 25, 2023
Copy link
Contributor

@yizhouxw yizhouxw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the class DlmLimiterConfig may not clear for API model.

e.g. what is the postfix limit means, batch limit or rate limit.

do we have plan to offer more configurable limit ability?

crrenttly all limit abilit belong to rate limit, it will be okay to use RateLimitConfiguration.

or, may DlmLimitConfiguration, with fields:

  • max-rows-per-second
  • max-size-per-second
  • batch-rows

@yizhouxw yizhouxw changed the title feat(dlm):support configuring limiter. feat(dlm):support configuring limiter Oct 26, 2023
Copy link
Contributor

@yizhouxw yizhouxw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@yizhouxw yizhouxw merged commit eaff311 into dev/4.2.2 Oct 26, 2023
19 checks passed
@yhilmare yhilmare deleted the tianke_422_support_configuring_limiter branch October 26, 2023 11:26
yhilmare pushed a commit that referenced this pull request Jan 15, 2024
* DLM supports configuring limiter config.

* DLM supports configuring limiter config.

* fix wrong field.

* support configuring max value of limiter.

* support configuring max value of limiter.

* show limiter config in detail.

* add util.

* fix ut

* response comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature The functionality to be implemented
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants