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

Test Consumption Plan Support #3

Closed
sebastianburckhardt opened this issue Dec 7, 2020 · 16 comments
Closed

Test Consumption Plan Support #3

sebastianburckhardt opened this issue Dec 7, 2020 · 16 comments
Labels
enhancement New feature or request

Comments

@sebastianburckhardt
Copy link
Member

The current implementation already does automatic load balancing over the connected nodes, using the the EventProcessorHost mechanism provided by EventHubs. Also, there is some preliminary logic drafted in ScalingMonitor.cs for making scale recommendations. However, this is not currently hooked up to any infrastructure that performs the scaling.

Eventually I think we would like to be able to support all of the following:

  1. Provide auto-scaling for premium plans
  2. Provide auto-scaling for consumption plans
  3. Provide auto-scaling for KEDA deployments
@sebastianburckhardt sebastianburckhardt added the enhancement New feature or request label Dec 7, 2020
@sebastianburckhardt sebastianburckhardt added this to the Public Preview milestone Feb 5, 2021
@sebastianburckhardt sebastianburckhardt added the documentation Improvements or additions to documentation label Mar 31, 2021
@sebastianburckhardt
Copy link
Member Author

Is now supported for elastic premium plans.

Still need to update the documentation.

@sebastianburckhardt sebastianburckhardt removed the enhancement New feature or request label Apr 2, 2021
@sebastianburckhardt
Copy link
Member Author

Ok, next step is to support consumption plan.

@sebastianburckhardt sebastianburckhardt added enhancement New feature or request and removed documentation Improvements or additions to documentation labels Apr 2, 2021
@sebastianburckhardt sebastianburckhardt changed the title Implement Autoscaling Implement Consumption Plan Support Apr 2, 2021
@sebastianburckhardt sebastianburckhardt removed this from the Public Preview milestone Jun 1, 2021
@sebastianburckhardt
Copy link
Member Author

Waiting on @bachuv who has started to get the existing scale controller logic ported to the consumption plan.

@sebastianburckhardt sebastianburckhardt added this to the 1.0.0 milestone Dec 21, 2021
@sebastianburckhardt sebastianburckhardt modified the milestones: 1.0.0, GA Apr 14, 2022
@sebastianburckhardt sebastianburckhardt changed the title Implement Consumption Plan Support Test Consumption Plan Support May 25, 2022
@itpropro
Copy link

The official docs state that Consumption Plan support will be introduced with GA. We are already after GA with a 1.x.x version (right?), can this issue be closed then @sebastianburckhardt ?

@sebastianburckhardt
Copy link
Member Author

We are currently testing consumption plan rollout.

@ShubhamGargCTH
Copy link

@sebastianburckhardt is this available on the consumption plan now?

@sebastianburckhardt
Copy link
Member Author

It is being rolled out, it is already available in some regions but not all of them. What region are you in?

@ShubhamGargCTH
Copy link

i am in Canada Central

@sebastianburckhardt
Copy link
Member Author

I believe the feature is now enabled for Canada Central, as of Thursday (12/29/2022).

@ShubhamGargCTH
Copy link

Thanks for the update.. we are seeing the below errors intermittently.
The listener for function '***' was unable to start. Encountered error while fetching the list of EventHub PartitionIds The operation did not complete within the allocated time 00:00:00 for object out-connection39.
Any idea what could be causing this.

let me know if you want me to create a seprate issue for this.

@sebastianburckhardt
Copy link
Member Author

A separate issue would make sense, yes.

The error message indicates that the event hubs sdk was unable to fetch the partition ids from the event hubs namespace.

Some guesses that come to mind:

  • The SDK sometimes throws spurious exceptions (network issues) that resolve on their own after a while. Do these errors persist?
  • Did you create EventHubs namespace and have sufficient access permissions to connect to it?

@sebastianburckhardt
Copy link
Member Author

We are now officially GA and available worldwide. I will close this issue now, feel free to open another if you have more questions.

@nitinkale
Copy link

nitinkale commented Mar 2, 2023

@sebastianburckhardt does netherite supports auto scaling with KEDA ? If yes then could you please share document\sample application ?

@sebastianburckhardt
Copy link
Member Author

Unfortunately, we don't have a KEDA scaler for Netherite.

@nitinkale
Copy link

nitinkale commented Mar 2, 2023

KEDA supports Eventhub . Is it not possible to scale orchestrator and workers based on the metrics from Eventhub ?

@sebastianburckhardt
Copy link
Member Author

It won't scale accurately since the number of unprocessed messages in event hub (which is how I assume event hubs does the scaling) does not directly correspond to the amount of work in a Netherite task hub (number of orchestrations/entities/activities/timers that need to be processed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants