How to achieve Concurrency Control in AWS Lambda

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ส.ค. 2024

ความคิดเห็น • 13

  • @EdchelStephenNini
    @EdchelStephenNini 5 วันที่ผ่านมา

    Thank you!

  • @sathviktumoju1195
    @sathviktumoju1195 4 หลายเดือนก่อน

    Best video on concurrency

  • @josherney9820
    @josherney9820 หลายเดือนก่อน

    Excellent video, thanks for sharing

    • @theburningmonk
      @theburningmonk  หลายเดือนก่อน

      Thank you, glad you liked it!

  • @theburningmonk
    @theburningmonk  11 หลายเดือนก่อน

    This is a preview lesson from my cohort-based workshop, "Production-Ready Serverless". If you liked this, then please check out the full curriculum at productionreadyserverless.com.
    You can get 15% OFF with the code "TH-cam15" during checkout. Hope to see you there!

  • @SethGeoghegan
    @SethGeoghegan 11 หลายเดือนก่อน

    Fantastic video! Do you ever reach for step functions to solve this problem?

    • @theburningmonk
      @theburningmonk  11 หลายเดือนก่อน +1

      I haven't used Step Function for this. Up til now, it hasn't got a built-in concurrency control mechanism. In fact, when I needed to limit the concurrency of some state in my state machine, I've had to implement that concurrency control outside of the state machine, for example, like this theburningmonk.com/2018/07/step-functions-how-to-implement-semaphores-for-state-machines

  • @PrafullKotecha
    @PrafullKotecha 10 หลายเดือนก่อน

    What's the best practice to handle Lambda concurrency for IoT core message topics?

    • @theburningmonk
      @theburningmonk  10 หลายเดือนก่อน

      IoT core is an async invocation source for Lambda, and assuming that you're working on an IoT solution then you're kinda stuck with it.
      So for concurrency control in this situation, I think you should use reserved concurrency. But if you need to allocate a large no. of concurrency units across multiple functions then you should consider isolating your IoT event processing functions to a their own account.
      That way, your other systems, like APIs, are shielded from whatever concurrency units that you have to reserve for your IoT functions.

  • @ugola1
    @ugola1 6 หลายเดือนก่อน

    Made me hungry!

  • @mohdalikm
    @mohdalikm 11 หลายเดือนก่อน

    Is there an option to set scalingconfig maximumConcurrency in aws console while setting sqs-lambda trigger?

    • @theburningmonk
      @theburningmonk  11 หลายเดือนก่อน +2

      Yup, you can set it in the console when you configure a SQS trigger for a Lambda function. It's called "Maximum concurrency".