Тёмный

How to achieve Concurrency Control in AWS Lambda 

Yan Cui
Подписаться 6 тыс.
Просмотров 2,5 тыс.
50% 1

This is a preview lesson from my upcoming workshop, "Production-Ready Serverless". If you liked this, then please check out the full curriculum at productionread....
You can get 15% OFF with the code "RU-vid15" during checkout. Hope to see you there!
AWS Lambda is very scalable by design and is great in cases when we need to implement the fan-out pattern to improve system throughput. But sometimes we need to do the reverse and constrain the system throughput so we don't overwhelm downstream dependencies.
After all, not every system is as scalable as our Lambda functions.
In this video, I will show you how to control the concurrency of a Lambda function.
✅ Recommended playlists:
Learn to build Production-Ready Serverless Applications
• AWS Lambda: When to us...
My BEST videos of 2023
• Is AWS Bedrock the Ope...
🔔 For more free videos on RU-vid, subscribe to my channel:
/ @theburningmonk
💌 If you're hungry for more insights, best practices, and tips on building serverless applications, make sure to subscribe to my weekly newsletter and elevate your serverless game!
theburningmonk...
📚 My courses 📚
theburningmonk...
👨‍🏫 My hands-on serverless workshop 👨‍🏫
productionread...
🌐 Find me here
Twitter: / theburningmonk
LinkedIn: / theburningmonk
Blog: theburningmonk.com

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@EdchelStephenNini
@EdchelStephenNini Месяц назад
Thank you!
@josherney9820
@josherney9820 2 месяца назад
Excellent video, thanks for sharing
@theburningmonk
@theburningmonk 2 месяца назад
Thank you, glad you liked it!
@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 "RU-vid15" 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".
@PrafullKotecha
@PrafullKotecha 11 месяцев назад
What's the best practice to handle Lambda concurrency for IoT core message topics?
@theburningmonk
@theburningmonk 11 месяцев назад
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.
@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
@ugola1
@ugola1 7 месяцев назад
Made me hungry!
@sathviktumoju1195
@sathviktumoju1195 5 месяцев назад
Best video on concurrency
@theburningmonk
@theburningmonk 5 месяцев назад
Thank you!
Далее
Serverless Testing: A Crash Course
9:21
Просмотров 2,1 тыс.
HA-HA-HA-HA 👫 #countryhumans
00:15
Просмотров 565 тыс.
Вопрос Ребром - Серго
43:16
Просмотров 1,4 млн
#慧慧很努力#家庭搞笑#生活#亲子#记录
00:11
65. Solving SQS and Lambda concurrency problems
16:11
Просмотров 2,6 тыс.
Microservices are Technical Debt
31:59
Просмотров 388 тыс.
HA-HA-HA-HA 👫 #countryhumans
00:15
Просмотров 565 тыс.