Skip to content

Add target based scaling support for MSSQL#169

Merged
cgillum merged 9 commits intomainfrom
vabachu/tbs
Oct 10, 2024
Merged

Add target based scaling support for MSSQL#169
cgillum merged 9 commits intomainfrom
vabachu/tbs

Conversation

@bachuv
Copy link
Contributor

@bachuv bachuv commented May 4, 2023

This PR adds support for target based scaling. It builds upon Azure/azure-functions-durable-extension#2452. This PR is in draft mode since it hasn't been tested E2E yet.

Changes:

  • Add SqlMetricsProvider and move GetMetricsAsync() code from SqlScaleMonitor here
  • Add SqlTargetScaler (implements ITargetScaler)
  • Override TryGetTargetScaler in SqlDurabilityProvider
  • Add unit tests
  • E2E testing

@bachuv bachuv self-assigned this May 4, 2023
@bachuv bachuv marked this pull request as ready for review May 17, 2023 19:25
@cgillum cgillum self-assigned this Oct 10, 2024
@cgillum
Copy link
Member

cgillum commented Oct 10, 2024

Quick note: I've successfully tested these changes in the Azure Functions SCv3 integration test code.

@cgillum cgillum requested a review from davidmrdavid October 10, 2024 16:29
Copy link
Member

@davidmrdavid davidmrdavid left a comment

Choose a reason for hiding this comment

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

Some questions, but overall looks great!

@cgillum cgillum merged commit e477b00 into main Oct 10, 2024
@cgillum cgillum deleted the vabachu/tbs branch October 10, 2024 17:40
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.

3 participants