Update: Microsoft will be moving away from UserVoice sites on a product-by-product basis throughout the 2021 calendar year. We will leverage 1st party solutions for customer feedback. Learn more here.

tali

My feedback

  1. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Azure IoT (Hub, DPS, SDKs)  ·  Flag idea as inappropriate…  ·  Admin →
    tali shared this idea  · 
  2. 88 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    12 comments  ·  Azure Functions  ·  Flag idea as inappropriate…  ·  Admin →

    Here’s the latest as there seem to be 2 types of ask here and so two seperate updates. Need comments for if this issue should close to be focused on one or other:

    1. I want to control how many calls my function can make to another API (the 3rd party API rate limiting).
    – In all plans we now have a way to specify the max instances. This can limit how far a function app instance can scale: https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#limit-scale-out

    2. I want to stop my function from triggering more than x times an hour.
    Nothing planned in this in the short term. Using API Management for HTTP functions with throttles would be our recommendation for HTTP, nothing out of box for non-HTTP triggers yet.

    An error occurred while saving the comment
    tali commented  · 

    I think you're missing the point, it was a request for the consumption program.
    The problem is that in the consumption plan there is no maximum instances,
    And this creates problems later on, for example : SQL open Connections, Redis cache act.
    Is it going to be solution for the consumption plan ?

    tali supported this idea  · 
    An error occurred while saving the comment
    tali commented  · 

    This is the solution in the AWS :
    https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html

    But do not repeat their mistakes,
    they ties together a solution for the two separate problems:
    Reserved instances for each function.
    limit the number of instances in a particular function.

    These two features are very important.

Feedback and Knowledge Base