How to achieve Concurrency Control in AWS Lambda

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

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

  • @sathviktumoju1195
    @sathviktumoju1195 9 หลายเดือนก่อน +1

    Best video on concurrency

  • @rando_prime123
    @rando_prime123 6 หลายเดือนก่อน +1

    Excellent video, thanks for sharing

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

      Thank you, glad you liked it!

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

    Thank you!

  • @SethGeoghegan
    @SethGeoghegan ปีที่แล้ว

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

    • @theburningmonk
      @theburningmonk  ปีที่แล้ว +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

  • @theburningmonk
    @theburningmonk  ปีที่แล้ว

    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!

  • @PrafullKotecha
    @PrafullKotecha ปีที่แล้ว

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

    • @theburningmonk
      @theburningmonk  ปีที่แล้ว

      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.

  • @mohdalikm
    @mohdalikm ปีที่แล้ว

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

    • @theburningmonk
      @theburningmonk  ปีที่แล้ว +2

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

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

    Made me hungry!