AWS SQS Overview For Beginners

  Рет қаралды 121,637

Be A Better Dev

Be A Better Dev

Күн бұрын

Пікірлер: 98
@sureshbabu8794
@sureshbabu8794 8 ай бұрын
Your AWS videos are far better than paid courses. Very clear explanation. Thank You!
@chessmaster856
@chessmaster856 9 ай бұрын
Sqs has a limit of 10 messages and 256kb message size. That sounds something very obsolete technology not really modern high performance
@SilvanaV-r3c
@SilvanaV-r3c 5 ай бұрын
You are AMAZING!!! I've not had a single video explain anything as clearly as you do. Please keep doing what you're doing and MORE of it, because you are a natural teacher of the best kind.
@lanatimmo3686
@lanatimmo3686 Жыл бұрын
I was always scared of the SQS/SNS, and could never really understood them😅. Thank to your videos I do now! Very grateful for your great content and very neat and clear explanation, thank you a lot!☺
@cuteuser6719
@cuteuser6719 4 күн бұрын
Same same, it all sounded to me like some sort of witchcraft, but now i get it 😂
@miguelviamonte8041
@miguelviamonte8041 2 жыл бұрын
Men! I can't appreciate all your videos enough. They had guided me on from zero to "hero" on my serverless journey in my new job (I started 6 months ago). I have a whole notification system for AWS Backup using SNS / SQS / Lambda running right now!
@jude3926
@jude3926 2 жыл бұрын
You really don't understand how this video just saved me stress. Thank you. Love the visual explanations and the details such as common use cases, etc... keep it up
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thanks so much Jude and glad you found it helpful!
@mayankparmar8155
@mayankparmar8155 Жыл бұрын
Hi @BeABetterDev , 1). Can SQS accept an Event Published from a System (example : Salesforce - Events) ? 2). What is the count of messages that an SQS can accept from an external System (i.e, Published Message Count from System -> Amazon_SQS ) ? 3). Can SQS accept Bulk Messages / Events ? Please let me know. Great video, Clarified in a single go.
@totsubo2000
@totsubo2000 2 жыл бұрын
Great video. What are the downsides/tradeoffs of using SQS vs. SNS? In my mind SNS can do everything SQS does and more (i.e. supports multiple subscribers). Also you mention that the consumer sets the consumption rate. How would that work with something like having a Lambda as the consumer? I'd imagine Lambda would spin up as many instances are required to process as many SQS messages as quickly as possible.
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Hi Jean, I have a video that compares the two check out the link below. kzbin.info/www/bejne/o4nOYYCEn9GCbaM
@himanshuagrawal2014
@himanshuagrawal2014 Жыл бұрын
Thanks a TON for such a tremendous , easy to digest video. Quiet explanatory at the same time. LOVED your pace of teaching and explaining the concepts. Stay Blessed Brother !
@BeABetterDev
@BeABetterDev Жыл бұрын
Glad the video helped and thank you so much for the kind words!
@marklautman4853
@marklautman4853 10 ай бұрын
Superb. The clearest description of SQS that I've come across.
@munteanionut3993
@munteanionut3993 4 ай бұрын
Lovely AWS tutorials. Kudos to you and I hope you will keep it going! Could you please better explain the beginning? 00:00:42.160 in the past when two services had to 00:00:44.399 communicate with one another one service 00:00:46.559 would perform an api call to inform the 00:00:48.960 other service that something changed or 00:00:51.039 some kind of event occurred on its side 00:00:53.680 now using sqs this contract has changed 00:00:57.039 instead the producing service of the 00:00:59.359 event or the notification can 00:01:01.359 asynchronously notify the consumer that 00:01:04.080 something changed in its system I do not understand what you were trying to imply.. by how I interpret it & how the above text is phrased; you say - in the past: one service had to inform the other something changed on its end through an API call - now: the contract changed, id: the service in which something changed (same as above till now) can asynchronously notify the consumer that something changed in its system... how do the above differ? did you mean API calls in the past were always "blocking" instead of "async"? is this what you meant? I do not follow, sorry..
@sreejithsreedhar05
@sreejithsreedhar05 2 жыл бұрын
Indeed the video is very informative ,Thanks for sharing . I have a small doubt ,similar to query parameters in API how we incrementally poll messages from SQS queue. I would need to poll messages based on a particular timestamp.
@BR-lx7py
@BR-lx7py 2 жыл бұрын
What happens in a FIFO if a consumer could not correctly handle a message and it is requeued? Does it block other messages being processed, since it's a FIFO?
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Hi B R, great question. I couldn't find any direct answer to this on the AWS documentation but here is something insightful. From here, under "FIFO queues": docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html "FIFO queues provide exactly-once processing by consuming messages in sequence from a message group. Thus, although the consumer can continue to retrieve ordered messages from another message group, the first message group remains unavailable until the message blocking the queue is processed successfully." I feel like based on this it probably blocks the queue from processing messages in the same message group. However to know for sure its probably worth a quick experiment.
@BR-lx7py
@BR-lx7py 2 жыл бұрын
@@BeABetterDev I played around with it and FIFO-s are blocking. Inserted 3 messages into a FIFO with send-message, then the first receive-message returned the first inserted one, but then calling receive-message again didn't return anything. Had to do a delete-message with the receipthadle of the first message to get the second one inserted. You'd better handle your exceptions in the code that processes the messages.
@Erica-up2xm
@Erica-up2xm 2 жыл бұрын
Great Explanation. Have a quick question. I have multiple queues where the poller should be fetching the messages from all of them based on some priority. And the priority would be like this - for example 1st queue having only 2 messages, 2nd queue having 100 messages and 3rd queue having 1000 messages then I want the poller to initially poll the queue which has less number of messages i.e here the poller should initially poll 1st queue then the 2nd and then the 3rd. How can this be achieved.
@r_mani41
@r_mani41 Жыл бұрын
U R A WONDER
@jamolkhonumarov5188
@jamolkhonumarov5188 Жыл бұрын
one of the best explanation out there and it's free. Good job man
@BeABetterDev
@BeABetterDev Жыл бұрын
Glad you liked it!
@rajendrawarrier7274
@rajendrawarrier7274 8 ай бұрын
Elegant way of explaining - simple and crisp - no fancy show business. Great job!
@kino-xw4xg
@kino-xw4xg 2 жыл бұрын
This video has been extremely helpful with my studies for SAA, just wanted to thank you so much for this
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Glad it was helpful!
@Room3102
@Room3102 2 жыл бұрын
Another clear, straightforward, awesome video!! Thanks, man!!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome Clerton!
@Nabilliban14
@Nabilliban14 Жыл бұрын
Thanks for this great overview! Quick question, as part of the "at least once delivery" that standard SQS provide, can I assume that duplicates will have the same messageID? Also, even though it is "at least once delivery", I can assume that there won't be two versions of the same message in a queue at the same time, thus respecting the visiblity timeout you mentioned at 11:20, right?
@Hiroki-Takahashi
@Hiroki-Takahashi Жыл бұрын
Excellent video as always!
@ulricha.abiguime7918
@ulricha.abiguime7918 2 жыл бұрын
thanks for putting all this information short for us, lazy ones
@mikami5799
@mikami5799 5 ай бұрын
Why sending messages to Queue is an anti-pattern?
@eiderarango5863
@eiderarango5863 2 жыл бұрын
Thanks bro, nice video. Keep it up.
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome and thank you!
@markcaro4419
@markcaro4419 2 жыл бұрын
Excellent introduction to SQS!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thanks so much Mark!
@pythonbrothersandfamily
@pythonbrothersandfamily 11 ай бұрын
PURE GOLD. Thanks a loooooot Be A Better Dev is my shepherd; I shall not want. He maketh me to lie down in green pastures: he leadeth me beside the still waters. He restoreth my soul: he leadeth me in the paths of righteousness for his name's sake.
@BijanHoomand
@BijanHoomand 2 жыл бұрын
Great video. Quick question: when you mention cross account patterns, do they also support cross partition data transfer? For example if I have an AWS account in China and another in USE1, can I publish from my SNS queue in China into my SQS queue in USE1?
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Hi Bijan, Cross region sns to sqs works for all cases except involving the china region. I found this post on the topic if you're interested: stackoverflow.com/questions/69061869/is-it-possible-to-publish-sns-messages-from-global-aws-account-to-sqs-queues-in Hope this helps
@BijanHoomand
@BijanHoomand 2 жыл бұрын
@@BeABetterDev LOL, thanks heaps for checking it out. Yeah, unfortunately it seems it is not possible. I am investigating if there is a way to make that happen; IAM seems to be out of the picture; I am thinking of using temporary security credentials with SQS: docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-using-temporary-security-credentials.html ; will keep you posted if I could somehow pull it off
@amineelmhamdi3576
@amineelmhamdi3576 Жыл бұрын
Thanks
@BeABetterDev
@BeABetterDev Жыл бұрын
Thank you so much for your generosity!!!
@chris0628
@chris0628 2 жыл бұрын
Awesome content…saved me hours of google and reading through documentation 👌🏽
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Glad it helped!
@vijji8942
@vijji8942 9 ай бұрын
Thanks for sharing comprehensive understanding of SNS. Appreciate your efforts!!
@foobarbecue
@foobarbecue Жыл бұрын
25:24 I guess Clodudwatch is for monitoring failures to launch (duds)
@uz16
@uz16 10 ай бұрын
What if the Queue goes down lol
@np8688
@np8688 Жыл бұрын
Simply explained, thank you ! Keep up ;)
@BeABetterDev
@BeABetterDev Жыл бұрын
You're welcome!
@sydneymcgee-re2hu
@sydneymcgee-re2hu 3 күн бұрын
Blick Throughway
@the80scyborgninja39
@the80scyborgninja39 Жыл бұрын
Would this be ideal for returning a dictionary from a lambda as a message to be consumed by other lambdas?
@ktapython600
@ktapython600 2 жыл бұрын
Hey Better dev, Just wanted to thank you for the tremendous time you spend on putting all these materials together and then compiling them for the great and educative videos you produce for all. You are a true leader, a role model, and a trendsetter for many. Keep up the good work because you are impacting lives worldwide, and I want to thank you for your selfless sacrifice to the human race. Jah, Rastafari!!!
@islamh6042
@islamh6042 11 ай бұрын
Great illustration, thanks for your efforts. Much appreciated!
@anaghakr
@anaghakr 7 ай бұрын
Excellent introduction to SQS! Thank you!
@Brand73
@Brand73 2 жыл бұрын
Good, you mispronounce the word 'process' in all of your videos. It's a little distracting but the content is excellent👍
@StraightCoding
@StraightCoding Жыл бұрын
Very Good explanation, i like it👌
@tomasesber6056
@tomasesber6056 Жыл бұрын
Nice. My question is: what are the drawbacks of this continual "polling" being done by Service B in your minute 17:30 example? Suppose your service A does not send messages to Service B for months on end, is this "polling" costing anything (i.e., computational cost in terms of site performance, AWS fees)?
@tomasesber6056
@tomasesber6056 Жыл бұрын
Should have finished the video before asking... it seems like Long Polling avoids the need to continually poll for messages. Still curious about the drawbacks of this, though.
@bouzie8000
@bouzie8000 Жыл бұрын
Thoroughly appreciate this video. You have no idea
@bishnuprasadmishra1733
@bishnuprasadmishra1733 6 ай бұрын
Excellent introduction to SQS! Thank You!
@islamtoghuj
@islamtoghuj Жыл бұрын
I think this is the best channel to get a great overview of AWS.
@arrecky
@arrecky Жыл бұрын
great, thanks for explaining it in a really simple way
@triminhtran2470
@triminhtran2470 Жыл бұрын
Thank you so much
@emirdagdelen6465
@emirdagdelen6465 2 ай бұрын
fucking legend.
@samikshasharma3544
@samikshasharma3544 10 ай бұрын
Amazing video
@andrewmcburney4425
@andrewmcburney4425 2 жыл бұрын
You're a great teacher - thank you for the video
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thanks so much Andrew! Glad you enjoyed :)
@sergiojuradolozano
@sergiojuradolozano 11 ай бұрын
very well explained. Thanks!
@lholhofox
@lholhofox Жыл бұрын
Thanks for this video!! Keep it up!!
@ahmadfahmi5129
@ahmadfahmi5129 2 жыл бұрын
Thank you for this fancy explanation
@16beat41
@16beat41 Жыл бұрын
This is the best tutorial video ive seen for SQS
@rishiraj2548
@rishiraj2548 2 жыл бұрын
Gratitude
@stayingaliveable
@stayingaliveable 11 ай бұрын
thank you for this video!
@as180697
@as180697 9 ай бұрын
Thanks!
@alizadasaleh2291
@alizadasaleh2291 6 ай бұрын
Very Clear Explanation!
@mrrishiraj88
@mrrishiraj88 2 жыл бұрын
👍
@malikmubashar5040
@malikmubashar5040 8 ай бұрын
thank you so much for this
@milanvarma4120
@milanvarma4120 Жыл бұрын
Amazing tutorial loved it
@Radekk225
@Radekk225 Жыл бұрын
Great explanation thanks!
@et4493
@et4493 Жыл бұрын
Top notch content man. Thanks!
@abdulrameez151
@abdulrameez151 2 жыл бұрын
Can we do an interview, need you input for my university project
@abdulrameez151
@abdulrameez151 2 жыл бұрын
Please brother
@m.e10150
@m.e10150 Жыл бұрын
Thank you very much
@potatoman2602
@potatoman2602 2 жыл бұрын
Thanks for all these videos. Do you have a video on local dev environment with aws - I couldn't find one? How do you approach this? Do you test against another dev aws environment or do you spin up everything locally with mocked/faked services like localstack?
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Hi Potato Man! Check out this video on my setup: kzbin.info/www/bejne/eXimn2OYaauCnNU I haven't made one for IDE / plugins but if you think it would be useful I can make one. Cheers
@AbdelhameedG
@AbdelhameedG 2 жыл бұрын
Thank you
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're welcome!
@saragasmichalis2177
@saragasmichalis2177 2 жыл бұрын
Great video !
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Glad you enjoyed it!
@surajthallapalli4227
@surajthallapalli4227 2 жыл бұрын
Legend !!
@abdelhadidjafer7004
@abdelhadidjafer7004 2 жыл бұрын
man ! i wish i work under you as my senior !
@BeABetterDev
@BeABetterDev 2 жыл бұрын
One day ! :)
@abdelhadidjafer7004
@abdelhadidjafer7004 2 жыл бұрын
@@BeABetterDev thx
@edwinmarrima6476
@edwinmarrima6476 2 жыл бұрын
Perfect explanation
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Glad it was helpful!
@ChamberlainAaron
@ChamberlainAaron 3 күн бұрын
0195 O'Keefe Freeway
@SemenAlexndrovich
@SemenAlexndrovich 2 жыл бұрын
Your videos are amazing! Thank you so much!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome Semyon!
AWS SQS Console Walkthrough With Explanations
29:43
Be A Better Dev
Рет қаралды 35 М.
AWS SQS FIFO Queues Overview and Demonstration
28:15
Be A Better Dev
Рет қаралды 13 М.
Spongebob ate Michael Jackson 😱 #meme #spongebob #gmod
00:14
Mr. LoLo
Рет қаралды 10 МЛН
Introduction to AWS Services
38:54
AWS with Chetan
Рет қаралды 2,2 МЛН
AWS SNS Vs SQS Vs EventBridge In 2024 | When To Use What?
16:26
Cloud With Raj
Рет қаралды 6 М.
Containers on AWS Overview: ECS | EKS | Fargate | ECR
25:10
TechWorld with Nana
Рет қаралды 522 М.
How I Would Learn AWS Today (after 10 years of cloud experience)
40:28
Be A Better Dev
Рет қаралды 415 М.
AWS SQS vs SNS vs EventBridge - When to Use What?
22:37
Be A Better Dev
Рет қаралды 178 М.
Getting started with Queues in .NET using AWS SQS
44:01
Nick Chapsas
Рет қаралды 37 М.