How to scale in Azure Container Apps

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 14

  • @nchomey
    @nchomey Рік тому +2

    Thanks very much for the really nice video. It was very clear and thorough. I hope you'll keep making videos about ACA!

  • @andrewSantosMaia
    @andrewSantosMaia 4 місяці тому

    Hi Will. Thanks for the video. Using azure service bus is the same way you did with Azure storage queues? I ve tried to do exactley as you do, provideing a connection string but It didn't work out

  • @joaodasilva2175
    @joaodasilva2175 Рік тому +3

    Hi Will. Thanks for the explaination and examples. On the scaling count side of the HTTP example, sounds like you're saying that if you configured min 1, max 10 instances/replicas, if requests exceed 100 then Azure will simply spin up 9 whole new instances, even if the request count is 101? I would sure think that firing up 9 extra instances to handle 1 request is a bit overkill? Or am I mistunderstanding? I would have thought that for every 100 requests above the initial count, Azure will fire up 1 extra instance to try handle the extra workload, so if 301 requests come flooding inbound, then there would be 3 instances having the requests being load-balanced between them?

    • @willvelida
      @willvelida  9 місяців тому +1

      Hey! If the requests exceed 100, then a new instance will spin up. So if 101 requests come in, and 1 replica is active, another one will spin up and you'll have 2 instances.

  • @davidrodrigueztoro9270
    @davidrodrigueztoro9270 Рік тому +2

    Thank you very much for the video, can you show me step by step how to create a CPU based rule?

    • @willvelida
      @willvelida  9 місяців тому

      Let me add it to the backlog! Sorry I've taken a long time to respond, last year was a little crazy (moved to another country), so I'll look to do a step-by-step tutorial on this soon

  • @anirudhkondapalli8558
    @anirudhkondapalli8558 9 місяців тому

    is there any possibility to have 1 on 1 session ?
    Thanks

  • @Fedotenko2
    @Fedotenko2 Рік тому +1

    If i am hosting a Azure Function in ACA. Can i somehow scale it if it uses a CosmosDBTrigger?

    • @willvelida
      @willvelida  9 місяців тому

      Great question! So for Functions on ACA, you don't need to configure the KEDA scaled objects. It's designed to configure the scale parameters and rules as per event target: learn.microsoft.com/en-us/azure/azure-functions/functions-container-apps-hosting#configure-scale-rules
      However, for Cosmos DB, it looks like triggers can't dynamically scale yet. From that doc, it looks like it's just HTTP, Queue Storage, Service Bus, Event Hubs and Kafka triggers. Functions on ACA is still in preview, so I'd keep an eye on it.

  • @GoranBralo
    @GoranBralo Рік тому +1

    is it possible to scale container app based on memory consumption?

    • @willvelida
      @willvelida  9 місяців тому

      Yes! You can use a custom scaling rule based on any ScaledObject-based KEDA scaler. This article on tech community has a good explanation of it: techcommunity.microsoft.com/t5/apps-on-azure-blog/scaling-options-in-azure-container-apps/ba-p/3878282#:~:text=You%20can%20create%20a%20custom,attention%20to%20detail%20is%20crucial.&text=The%20rules%20will%20scale%20the,the%20amount%20of%20Memory%20consumption.

  • @Laughbankrip
    @Laughbankrip Рік тому +1

    Much appreciated

    • @willvelida
      @willvelida  9 місяців тому

      Thanks for watching!