Skip to content

Conversation

shijiesheng
Copy link
Member

What changed?

  • removed autoscaler package; it's no longer used after the rework
  • Used poller wait time from autoConfigHint field for poller scaling
  • Scaling now happens every 1s with a sustained cooldown time instead of periodically 1 min change to react to traffic change quicker

Why?

How did you test it?

Potential risks


// Permit is an adaptive permit issuer to control concurrency
type Permit interface {
Acquire(context.Context) error
Copy link
Member

Choose a reason for hiding this comment

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

do you mind adding comments for each method?

Copy link
Member Author

Choose a reason for hiding this comment

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

sorry this branch was accidentally pushed. I'm still testing this branch #1411

@shijiesheng
Copy link
Member Author

closed and see #1411

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