Skip to content

Exposing common scaling code to consume by SC v3#2937

Closed
alrod wants to merge 3 commits intoAzure:devfrom
alrod:alrod/sc-redesign1
Closed

Exposing common scaling code to consume by SC v3#2937
alrod wants to merge 3 commits intoAzure:devfrom
alrod:alrod/sc-redesign1

Conversation

@alrod
Copy link
Copy Markdown
Member

@alrod alrod commented Dec 10, 2022

Resolves #2938

Function host change:
Azure/azure-functions-host#8977

Comment thread src/Microsoft.Azure.WebJobs.Host/Scale/FunctionsScaleManager.cs Outdated
Comment thread src/Microsoft.Azure.WebJobs.Host/Scale/InMemoryScaleMetricsRepository.cs Outdated
Comment thread src/Microsoft.Azure.WebJobs.Host/Scale/InMemoryScaleMetricsRepository.cs Outdated
@alrod alrod force-pushed the alrod/sc-redesign1 branch from f3d2a9b to 91b3200 Compare December 13, 2022 00:20

namespace Microsoft.Azure.WebJobs.Host.Scale
{
public interface IScalerFactory
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not sure this interface needs to be in the SDK. I don't see it used from either the SDK or the Host PR you linked to, so likely it's a SC specific thing and can just live there.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

All the extensions will implement the interface to use it from ScaleController. WebJobs SDK is common part for all the extensions.

Comment thread src/Microsoft.Azure.WebJobs.Host/Scale/InMemoryScaleMetricsRepository.cs Outdated
Comment thread src/Microsoft.Azure.WebJobs.Host/Scale/ScaleManager.cs Outdated
Comment thread src/Microsoft.Azure.WebJobs.Host/Scale/ScaleStatus.cs Outdated
Comment thread src/Microsoft.Azure.WebJobs.Host/Scale/ScaleStatus.cs Outdated
Comment thread src/Microsoft.Azure.WebJobs.Host/Scale/IScaleMetricsRepository.cs
@alrod alrod force-pushed the alrod/sc-redesign1 branch from 12d2de1 to 705526e Compare February 3, 2023 22:11
@alrod
Copy link
Copy Markdown
Member Author

alrod commented Feb 22, 2023

closing in favor of #2954

@alrod alrod closed this Feb 22, 2023
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.

Exposing common scaling code to consume by SC v3

3 participants