AWS SQS vs SNS vs EventBridge - When to Use What?

AWS SQS vs SNS vs EventBridge - When to Use What?

Be A Better Dev

3 года назад

211,987 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@malikjon7619
@malikjon7619 - 24.01.2023 18:04

Best lecture on SNS, SQS and EventBridge that I have listened to.

Ответить
@thirue8237
@thirue8237 - 25.01.2023 06:05

thanks. very detailed explanation with usecases

Ответить
@jess_tech
@jess_tech - 05.02.2023 01:30

Amazing video! Packed with information and so clear!

Ответить
@dancewithananya4111
@dancewithananya4111 - 15.02.2023 21:01

Actually 5 target limitation can easily be bypassed by creating multiple rules

Ответить
@larbot3433
@larbot3433 - 26.02.2023 07:15

This video is very easy to follow and understand for someone who isn't knees deep in this stuff all the time but needs to get across it for work. Many thanks!

Ответить
@iroshanaravishan1388
@iroshanaravishan1388 - 06.03.2023 23:09

Thanks. Content is really good!

Ответить
@rehanansari8154
@rehanansari8154 - 08.03.2023 16:24

Amazing explanation man 🎉🎉🎉

Ответить
@rehanansari8154
@rehanansari8154 - 12.03.2023 23:57

I successfully completed the SAA C03 on 12th March🎉🎉🎉

Ответить
@mohammadespahrom3295
@mohammadespahrom3295 - 06.04.2023 04:43

Good job on describing SQS, SNS, and Event Bridge in a visualized format.

Ответить
@aloshy7717
@aloshy7717 - 06.04.2023 06:39

Could you compare msk also?

Ответить
@alxjones
@alxjones - 12.05.2023 20:08

I know Nick already commented, but I just want to add that EventBridge rules really look like they should be 1-1 with their pattern, but in reality they should be 1-1 with consumers.

Just like each consumer of SNS can choose to subscribe to a topic, each consumer of EB can choose to "subscribe" to events by defining a rule to capture all the events they care about. If 20 services all care about the same kind of event, then you will have 20 rules with the same pattern. It might seem redundant, but if ones of them decides they care about other things, they own their rule and can update that pattern independent of the other 19. They can also own the other targets, for example they can send captured events to a CloudWatch log group or own their own DLQ for failed events. If it truly is a pattern that a lot of consumer are matching one or more "default" patterns, you can set SNS as the target to get the 3rd party input support you want with the mass fan-out of SNS.

The limitations of EB in terms of number of targets and number of rules push you in the direction of these patterns; if you're hitting the limits of the system, you may just be using it wrong!

Ответить
@shawntepitts488
@shawntepitts488 - 26.05.2023 23:29

Perfect

Ответить
@ta_ncedile
@ta_ncedile - 31.05.2023 03:44

Thank you so much for these incredible explanations.

Ответить
@MarwanB-m6o
@MarwanB-m6o - 01.06.2023 14:29

what a fantastic video!

Ответить
@MuckCityProductions
@MuckCityProductions - 14.06.2023 10:12

👍🏿

Ответить
@minsupark9246
@minsupark9246 - 04.07.2023 15:09

Thanks!

Ответить
@scruffythebug
@scruffythebug - 22.07.2023 21:05

Great info! Question - for the SNS example (and SQS) the message data is shown as containing structured json data (customerId, etc.). Is this a common and valid usage? The reason I ask is the AWS docs don't include an example like that. Their examples show a single message field containing just a string. Would that structured data go in the "message" field of the SNS message?

Ответить
@GoyavoCity
@GoyavoCity - 29.07.2023 07:13

So nicely explained. Thanks

Ответить
@nalluribhanu1997
@nalluribhanu1997 - 29.08.2023 21:59

Best tutorial

Ответить
@CaliburPANDAs
@CaliburPANDAs - 03.09.2023 09:04

what about AWS MQ?

Ответить
@shashankreddy8390
@shashankreddy8390 - 28.10.2023 18:33

Why do we need an sns then, since we are again creating 3 queues?

Ответить
@alaamassaee8987
@alaamassaee8987 - 29.12.2023 00:48

The best and simplest explanation. Thank you so much!

Ответить
@BREAK1HUNDRED
@BREAK1HUNDRED - 26.01.2024 05:55

THIS IS JUST INCREDIBLE. THANK YOU SO MUCH. <3 <3 <3

Ответить
@VincentJenks
@VincentJenks - 17.02.2024 18:03

Very helpful comparison, thanks so much!

Ответить
@mvpacharya2003
@mvpacharya2003 - 27.02.2024 00:56

Hi. What is the TTL of the message in Message Bus. What happens if the target downstream App is down?

Ответить
@celestialmage7739
@celestialmage7739 - 07.03.2024 12:03

Thank you very much for this. Awesome content!!

Ответить
@rishabhgautam7863
@rishabhgautam7863 - 01.04.2024 17:41

But in case the subscriber is lambda, OrderServce -> SNS -> SQS -> AnalyticsService (Lambda) | For this we can directly subscribe the SNS to Lambda, as anyway it will process the SQS we need not have to pull messages and during deployment, I think CloudFormation stack take cares of it.

Correct me if my understanding is not correct

Ответить
@rosendo3219
@rosendo3219 - 08.04.2024 22:43

so funny how you say we need sns instead of sqs to fix the inconsistency problem. Dude, that will not solve the problem.
you can not guarantee consistency if you are working with any kind of queues: sns, sqs, kafka, redis....does not matter.
also why you do not mention "exactly once" problem which is the first and most important problem to deal when we work with queue.

sigh! so many misleading information in your videos.

Ответить
@grijeshmnit
@grijeshmnit - 18.04.2024 13:10

thank you video? Do you have an Udemy course?

Ответить
@JeetneKiSanak
@JeetneKiSanak - 23.04.2024 07:52

this is real gem...nobody could explain better than this. please make a playlist on aws with concept plus hands on.pla. may god bless u with a lot of money and health

Ответить
@evanserickson
@evanserickson - 24.04.2024 19:17

Can you elaborate or give me the key term for what you meant when you don’t want other services to hit the database? Segregation of tier one services.

Ответить
@RishiRajxtrim
@RishiRajxtrim - 23.06.2024 23:02

🎉

Ответить
@mikitaarabei
@mikitaarabei - 05.07.2024 21:10

Thank you for the content =)

Ответить
@Blaane15
@Blaane15 - 18.07.2024 06:45

What triggers the poll that is executed by the lambda to the SQS queue?

Ответить
@brianevans4
@brianevans4 - 18.07.2024 17:41

As far as I see, a big benefit of event bridge is that it keeps messages available after they’ve been processed. Which sns does not.

Ответить
@TheShahZAAM
@TheShahZAAM - 13.08.2024 04:09

Question:
A Solutions Architect has noticed that several VPC security groups have been modified in the last week. In the future, when changes like this occur, it is ideal for system administrators to be notified in near-real time and investigate the change to ensure resource security is not compromised.

What is the best solution the Solutions Architect can implement in this case?

Options:

Create an event-based Lambda function that triggers an SNS notification when a security group change occurs.
Configure AWS Config rules for your VPC security groups.
Create a CloudTrail trail to send log data to Amazon S3 related to any VPC security group changes in any region.
Use Amazon EventBridge to track API calls related to VPC security group changes in all regions and target Amazon SNS topics.

Ответить
@GauravSingh-o4m
@GauravSingh-o4m - 23.08.2024 23:38

One of the best explaination, I found

Ответить
@mraaroncruz
@mraaroncruz - 05.09.2024 08:12

This saved me a ton of time. Thanks so much, great work

Ответить
@SedatKarakan-f1t
@SedatKarakan-f1t - 08.09.2024 20:04

Roberts Hills

Ответить
@TomlinsonJoan-d1l
@TomlinsonJoan-d1l - 07.10.2024 15:23

Ezekiel Island

Ответить
@RemediosArris-q6m
@RemediosArris-q6m - 09.10.2024 11:04

Nigel Burgs

Ответить
@MorseRalap-r3f
@MorseRalap-r3f - 09.10.2024 21:25

Boehm Stream

Ответить
@PalmerAbel-h9f
@PalmerAbel-h9f - 15.10.2024 20:04

Perez Sharon Johnson Kenneth Williams Barbara

Ответить
@MR-v6o
@MR-v6o - 27.10.2024 00:55

10

Ответить
@ashishdeora8522
@ashishdeora8522 - 08.12.2024 16:14

Amazing video. Such a complex topics explained with so much simplicity. Keep up the good work mate!

Ответить
@heathens2867
@heathens2867 - 06.01.2025 19:48

Dude, this is awesome! Seriously, it's unbelievable. But hey, one thing—could you use a dark gray or black background? This white one's really harsh on the eyes. Lots of people watch videos at night after work, so it'd be much better.

Ответить
@MisterVinodKumar
@MisterVinodKumar - 03.02.2025 10:38

Very well explained using the same example of Order Service :)

Ответить
@Rajenp0
@Rajenp0 - 22.02.2025 23:14

So SQS Queue, by default, is a stack 😂

Ответить
@munashemaponga3597
@munashemaponga3597 - 29.04.2025 11:09

Thank you for using a real world example this was very simple to understand please keep making more videos

Ответить
@nicksmit959
@nicksmit959 - 09.09.2021 23:01

Hey - EventBridge product manager here! A quick clarification: you're able to create multiple rules on EventBridge that each match against the same event. Each of those rules can also have 5 targets. The typical approach is to use a separate rule per consumer. So you might have 20 different services in your application that each need to receive the same event - each of those services can have a separate rule that each matches against that event. You're not charged any additional amount for rule matches, and there is a soft limit of 300 rules per event bus.

Ответить