How to achieve Concurrency Control in AWS Lambda

  Рет қаралды 2,767

Yan Cui

Yan Cui

Күн бұрын

Пікірлер: 13
@sathviktumoju1195
@sathviktumoju1195 7 ай бұрын
Best video on concurrency
@theburningmonk
@theburningmonk 7 ай бұрын
Thank you!
@josherney9820
@josherney9820 4 ай бұрын
Excellent video, thanks for sharing
@theburningmonk
@theburningmonk 4 ай бұрын
Thank you, glad you liked it!
@SethGeoghegan
@SethGeoghegan Жыл бұрын
Fantastic video! Do you ever reach for step functions to solve this problem?
@theburningmonk
@theburningmonk Жыл бұрын
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
@EdchelStephenNini
@EdchelStephenNini 3 ай бұрын
Thank you!
@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.
@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 "KZbin15" during checkout. Hope to see you there!
@mohdalikm
@mohdalikm Жыл бұрын
Is there an option to set scalingconfig maximumConcurrency in aws console while setting sqs-lambda trigger?
@theburningmonk
@theburningmonk Жыл бұрын
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 9 ай бұрын
Made me hungry!
Serverless Testing: A Crash Course
9:21
Yan Cui
Рет қаралды 2,3 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 42 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 186 МЛН
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2,2 МЛН
65. Solving SQS and Lambda concurrency problems
16:11
AWS Bites
Рет қаралды 2,8 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 653 М.
Programming Is Cooked
9:30
ThePrimeTime
Рет қаралды 292 М.
AWS Lambda Function Execution and Cold Start
13:17
Be A Better Dev
Рет қаралды 20 М.
Using .NET’s NativeAOT to fix the biggest serverless issue
19:33
Nick Chapsas
Рет қаралды 29 М.
Developing AWS Lambda Functions Locally in VS Code
20:22
Travis Media
Рет қаралды 129 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 42 МЛН