SNS vs SQS Comparison? Whats the difference? | Learn with a practical example

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024
  • In this video I explain the key differences between SNS and SQS. I started by going over the features of both services, followed by a practical example.
    Looking to get hands on experience building on AWS with a REAL project? Check out my course - The AWS Learning Accelerator! courses.beabet...
    00:24 Feature Comparison of SNS vs SQS
    02:57 SNS vs SQS Example
    🎉SUPPORT BE A BETTER DEV🎉
    Become a Patron: / beabetterdev
    📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
    Clean Code - amzn.to/37T7xdP
    Clean Architecture - amzn.to/3sCEGCe
    Head First Design Patterns - amzn.to/37WXAMy
    Domain Driver Design - amzn.to/3aWSW2W
    Code Complete - amzn.to/3ksQDrB
    The Pragmatic Programmer - amzn.to/3uH4kaQ
    Algorithms - amzn.to/3syvyP5
    Working Effectively with Legacy Code - amzn.to/3kvMza7
    Refactoring - amzn.to/3r6FQ8U
    🎙 MY RECORDING EQUIPMENT 🎙
    Shure SM58 Microphone - amzn.to/3r5Hrf9
    Behringer UM2 Audio Interface - amzn.to/2MuEllM
    XLR Cable - amzn.to/3uGyZFx
    Acoustic Sound Absorbing Foam Panels - amzn.to/3ktIrY6
    Desk Microphone Mount - amzn.to/3qXMVIO
    Logitech C920s Webcam - amzn.to/303zGu9
    Fujilm XS10 Camera - amzn.to/3uGa30E
    Fujifilm XF 35mm F2 Lens - amzn.to/3rentPe
    Neewer 2 Piece Studio Lights - amzn.to/3uyoa8p
    💻 MY DESKTOP EQUIPMENT 💻
    Dell 34 inch Ultrawide Monitor - amzn.to/2NJwph6
    Autonomous ErgoChair 2 - bit.ly/2YzomEm
    Autonomous SmartDesk 2 Standing Desk - bit.ly/2YzomEm
    MX Master 3 Productivity Mouse - amzn.to/3aYwKVZ
    Das Keyboard Prime 13 MX Brown Mechanical- amzn.to/3uH6VBF
    Veikk A15 Drawing Tablet - amzn.to/3uBRWsN
    What is SNS? • What is AWS SNS (Simpl...
    📚 References:
    SNS Playlist - • AWS SNS Guides - Every...
    SQS Playlist - • AWS SQS Guides - Every...
    How to set up SNS + Lambda - • AWS SNS to Lambda Tuto...
    How to set up SQS + Lambda - • AWS SQS to Lambda Tuto...
    How to set up SNS + SQS - • AWS SNS to SQS Tutoria...
    Getting started with AWS: • Introduction to AWS | ...
    Great stackoverflow discussion - stackoverflow....
    ☁Topics covered include:
    SNS
    SQS
    SNS vs SQS
    SNS to Lambda
    SNS to Lambda Retry Policy
    🌎 Find me here:
    Twitter - / beabetterdevv
    Instagram - / beabetterdevv
    Patreon - Donations help fund additional content - / beabetterdev
    #AWS
    #SNS
    #SQS

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

  • @SergioBerlinches
    @SergioBerlinches 4 ปีที่แล้ว +165

    I came looking for copper and found gold. Thanks.

  • @TomerBenDavid
    @TomerBenDavid 4 ปีที่แล้ว +88

    I really like how you don't just repeat documentation bus get to the core of the thing! Another masterpiece!

  • @sf-spark129
    @sf-spark129 2 ปีที่แล้ว +20

    Good explanation!! As an active user of AWS myself, I would like to add one thing here.
    SQS is not error-proof/fault-tolerant by itself in the event of a failure. It guarantees to deliver all messages to the next microservice by having a back-up option, called DLQ(Dead Letter Queue). When the SQS fails to deliver a message to the next microservice whether due to a source side issue or a destination side issue, it sends that message to the DLQ(it is basically another SQS). Then, you get to re-drive(re-play) that message once you locate and resolve the issue in the system. One caveat is that there is a maximum 14-day message expiration period in DLQ.
    Also, SNS can be subscribed by a streaming service like Kinesis FH.

  • @mikehulbert4411
    @mikehulbert4411 3 ปีที่แล้ว +14

    Great explanation and love the fact that you explain the “why”...

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

    2:16 - 2:47 - That was a penny dropping moment for me. What an excellent way to describe the difference. Many thanks.

    • @BeABetterDev
      @BeABetterDev  2 ปีที่แล้ว

      So glad I was able to help you "get it" !

    • @ayeayyiu
      @ayeayyiu 2 ปีที่แล้ว

      @@BeABetterDev You should be proud of yourself, you really do explain very clearly :)

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

    Awesome explanation as usual

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

    Gold indeed!!...so articulate and to the point..in 10 minutes..wow!

  • @stevencastro2238
    @stevencastro2238 3 ปีที่แล้ว +4

    I can not thank you enough, for this video. This single video might be the reason i get my certification, when I do I promise to come back and make a generous donation your way. Thank you sir

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      You're very welcome Steven! I hope you do well on your exam. Thank you for your support, I really appreciate it!

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

    Thanks for the effort put into this video to make it easier for students to understand.

  • @oscarzuniga.personal
    @oscarzuniga.personal 4 ปีที่แล้ว +4

    The best explanation for this two services. You rock!!

  • @yt.arunthakur
    @yt.arunthakur 3 ปีที่แล้ว +1

    Wow you really made it so easy to understand

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว +1

      Thanks Arun! Glad you enjoyed :)

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

    Thank you for this clear explanation with practical example. Thumbs up!

  • @serreealhamwi6393
    @serreealhamwi6393 4 ปีที่แล้ว +1

    your explanation is perfect

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

    You did it smoothly. ☺️

  • @jefffrederick258
    @jefffrederick258 3 ปีที่แล้ว +1

    Subscribed. Clearest example I've seen on SNS vs SQS

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      Thanks Jeff! Glad you enjoyed :)

  • @krishnar6749
    @krishnar6749 3 ปีที่แล้ว +1

    Good Info; Better than many paid courses

  • @bluebabboon
    @bluebabboon 3 ปีที่แล้ว +1

    Real life examples are gold. Thanks brother.

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      Thanks Krishna! Glad you enjoyed :)

  • @yashpanicker256
    @yashpanicker256 4 ปีที่แล้ว +1

    This is the best video I have seen on SNS and SQS. The practical example was especially helpful.

    • @BeABetterDev
      @BeABetterDev  4 ปีที่แล้ว

      Thank you Yash! Glad you enjoyed

  • @MightyMike55
    @MightyMike55 3 ปีที่แล้ว +1

    Great explanation and example

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

    incredible great explanation ! thanks for such wonderufl content!

    • @BeABetterDev
      @BeABetterDev  2 ปีที่แล้ว

      You're very welcome Victor!

  • @dwaynem2523
    @dwaynem2523 4 ปีที่แล้ว +3

    Finally a great video that fully explains the differences with a concrete use case. Thanks

  • @busyrand
    @busyrand 7 หลายเดือนก่อน

    Brilliant explaintion of the reason why the service is used/relevant. Way to close strongly...

  • @erekriccobuano6141
    @erekriccobuano6141 ปีที่แล้ว +1

    Awesome explanation. Now I get it.

  • @pauls60r
    @pauls60r 3 ปีที่แล้ว +1

    This is the best explanation and practical example of SNS/SQS!

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

    Great explanation thank you!

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

    Simply excellent. Well explained. Thank you 😊

    • @BeABetterDev
      @BeABetterDev  4 ปีที่แล้ว

      Thank you so much for the kind wrods!

  • @anuragsoni2256
    @anuragsoni2256 3 ปีที่แล้ว +1

    Thanks for this good practical example.

  • @nirmesh44
    @nirmesh44 4 ปีที่แล้ว +1

    best explanation ever.

  • @alcap6145
    @alcap6145 4 ปีที่แล้ว +1

    Best explanation ever. I wish I would have found this video before I studied and passed my Solutions architect LOL

  • @joswayski
    @joswayski 3 ปีที่แล้ว +1

    Great example thank you

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว +1

      You're very welcome Jose!

  • @HunterStanley-kv3je
    @HunterStanley-kv3je ปีที่แล้ว +4

    I'm a student studying for my Solutions Architect exam. I narrowly failed the first attempt and have been studying material and realized I didn't fully grasp the concepts and differences between the two. This video did so much that the AWS Academy did not in this regard, and I really appreciate that.

  • @jasimali2467
    @jasimali2467 3 ปีที่แล้ว +1

    pure gold, very nicely explained

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      Thanks Jasim! Glad you enjoyed.

  • @ClaudioLopez-r2j
    @ClaudioLopez-r2j 7 หลายเดือนก่อน

    Hey! Great explanation of SNS and SQS. I love you credit card transaction example since not better place than a transactional system to understand those concepts.

  • @emilehoffman8425
    @emilehoffman8425 3 ปีที่แล้ว +1

    Very Good and well presented.. Gracis!!!

  • @aldnav
    @aldnav 7 หลายเดือนก่อน

    Best explainer vid by far.

  • @nirmaltripathy3226
    @nirmaltripathy3226 ปีที่แล้ว +1

    Awesome explanation

  • @preetbenipal1034
    @preetbenipal1034 4 ปีที่แล้ว +1

    wow explanation one of best explanation of use case of SNS SQS in such a short time ..fully recommended ..thank you :)

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

    Thank you very much !

  • @ajayvishwakarma6943
    @ajayvishwakarma6943 3 ปีที่แล้ว +1

    best explanation of SNS and SQS

  • @MartinPerez-mi1ty
    @MartinPerez-mi1ty 2 ปีที่แล้ว

    I am so glad that i discovered your channel

  • @harshverm776
    @harshverm776 3 ปีที่แล้ว +1

    Excellent Explaination....

  • @bagyalakshmi72
    @bagyalakshmi72 11 หลายเดือนก่อน

    Thank you for the explanation with example and telling about the pros and cons of each method :)

  • @innocentmutyavaviri8205
    @innocentmutyavaviri8205 3 ปีที่แล้ว +1

    Well explained example

  • @kazimir9576
    @kazimir9576 3 ปีที่แล้ว +1

    Great example, thanks for this video

  • @SaaSPro-de
    @SaaSPro-de 2 ปีที่แล้ว +1

    Very good explained 👍

  • @hamoudsk8972
    @hamoudsk8972 4 ปีที่แล้ว +5

    Pretty good format and just exactly what i wanted , clear explanation good use case examples , just perfect . Thank you

  • @samikshasharma3544
    @samikshasharma3544 11 หลายเดือนก่อน

    What a clear demonstration it is!!!

  • @Cusifaii
    @Cusifaii 3 ปีที่แล้ว +1

    Very clear explanation. The use of practical cases is key, thank youi for that.

  • @alpha_ray_burst
    @alpha_ray_burst 3 ปีที่แล้ว

    FANTASTIC video, holy geez man. Brain expanded. Like... I just came here because I wanted to know about SQS, but I was taught about SQS, SNS, and proper application architecture in a way that I will actually remember it. DAYUM. Thank you!
    Can you do a video about Origin Access Identities?

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      Thanks Adam, really glad you enjoyed! I'll look into a video on OAI - cheers!

  • @janithmalinga5765
    @janithmalinga5765 8 หลายเดือนก่อน

    Very good practicle example.

  • @vivrd
    @vivrd 4 ปีที่แล้ว

    i loved the use case which clears the picture of the usage of both types of services. thanks.

  • @wenzwenzel2529
    @wenzwenzel2529 4 ปีที่แล้ว +1

    Perfect. Super helpful.

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

    Damn this literally is the best video for this topic.
    Loved it.

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว +1

      Thanks Pramesh! Glad you enjoyed.

  • @girishmallya9950
    @girishmallya9950 3 ปีที่แล้ว +1

    Nice explanation!

  • @worldofafrontenddeveloper9187
    @worldofafrontenddeveloper9187 3 ปีที่แล้ว +1

    Thanks for making this video 👏

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      You're very welcome Rimika!

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

    Fantastic job, I was about ready to throw my laptop trying to get a solid use case for these tools

    • @BeABetterDev
      @BeABetterDev  2 ปีที่แล้ว

      You're very welcome Jason!

  • @babusivaprakasam9846
    @babusivaprakasam9846 4 ปีที่แล้ว +1

    Clear explaination

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

    Really helped me to understand how/why SNS. Nice slide too.

    • @BeABetterDev
      @BeABetterDev  4 ปีที่แล้ว

      Thanks Glenn! Glad I was able to help.

    • @glennadams7047
      @glennadams7047 4 ปีที่แล้ว

      @@BeABetterDev Studying for the AWS Dev Cert, and these vids reinforce what I read in the documentation :-) Thanks again.

  • @shilpthapak7823
    @shilpthapak7823 3 ปีที่แล้ว +1

    This is Gold!! Thanks for explaining.

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      You're very welcome Shilp!

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

    Fantastic explanation for both services, thank you!

  • @avinashch3359
    @avinashch3359 4 ปีที่แล้ว +1

    Quite a good Explanation with example.

  • @taraprasaddash4011
    @taraprasaddash4011 4 ปีที่แล้ว +1

    Very clear explanation. Thanks for your good work.

    • @BeABetterDev
      @BeABetterDev  4 ปีที่แล้ว

      Thanks Tara! Really appreciate the support.

  • @StarContract
    @StarContract 2 ปีที่แล้ว

    My search for the best tutorial stops here

  • @mousumisinha4039
    @mousumisinha4039 3 ปีที่แล้ว +1

    Ok now I can definitely say what my application needs 🔥

  • @widadaid
    @widadaid 3 ปีที่แล้ว +1

    Great explanation, thanks! :)

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

    i really enjoy your explanation and practical examples!

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

    This is amazing explanation!!! Thank you so much!

    • @BeABetterDev
      @BeABetterDev  2 ปีที่แล้ว

      You're very welcome Nuni!

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

    awesome video, very clear and well explained

  • @EvinOguz-f2b
    @EvinOguz-f2b ปีที่แล้ว

    This is really useful. Thanks!

  • @saeedshazad9223
    @saeedshazad9223 4 ปีที่แล้ว +1

    you are awsome. never understood SNS /SQS till this lecture. you need to be Amazon Instructor

  • @jhonnyyamaniha6033
    @jhonnyyamaniha6033 5 หลายเดือนก่อน

    Thank you! Great explaination and great example!

  • @hdang1997
    @hdang1997 3 ปีที่แล้ว

    You just gave me a final year project idea. Gracias!

  • @justfair4181
    @justfair4181 3 ปีที่แล้ว +1

    Best explanation. Claps

  • @LeonidasPapoulakis
    @LeonidasPapoulakis 4 ปีที่แล้ว +4

    An excellent example, keep up the good work! We need more videos like this!

    • @BeABetterDev
      @BeABetterDev  4 ปีที่แล้ว

      Thanks Leonidas! More to come!

  • @bharatpatidar3693
    @bharatpatidar3693 3 ปีที่แล้ว +1

    You are a Gem Brother

  • @LuisRivera-mh7gv
    @LuisRivera-mh7gv 3 ปีที่แล้ว +1

    Heyyyy!!! Appreciate you sharing this!!! I was having a hard time digesting it! This is clearer thanks to you! Subscribed already!

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      You're very welcome Luis! Thanks for your continued support :)

  • @TheKiteDiary
    @TheKiteDiary 4 ปีที่แล้ว +1

    Great one. The example helps a lot! Thank you

  • @complex5372
    @complex5372 4 ปีที่แล้ว +1

    Great video!

  • @cazino4
    @cazino4 3 ปีที่แล้ว +1

    Great video, clear concise and informative. Would like to see a video that compares SNS to Kafka....

  • @virunpatolankitkunchai4179
    @virunpatolankitkunchai4179 4 ปีที่แล้ว +3

    This is awesome! The example is well explained. Thank you so much for doing this!!

  • @yumlive5698
    @yumlive5698 3 ปีที่แล้ว +1

    wow, nicely presented and explained!

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      Thanks John! Glad you enjoyed :)

  • @vinayaknawale1015
    @vinayaknawale1015 4 ปีที่แล้ว +1

    True very simple and nice explanation ni was looking for and finally got it here and SUBSCRIBED !!?

  • @NP96
    @NP96 2 ปีที่แล้ว

    Thanks, really helpful to me

  • @cheribgh275
    @cheribgh275 3 ปีที่แล้ว +1

    You are really Awsome!!!! thanks a lot for the informative videos about AWS.

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      Thanks Shahrzad! And you're very welcome!

  • @AbyssWiZ4rD
    @AbyssWiZ4rD 3 ปีที่แล้ว

    Very clear explanation, thanks for sharing!

  • @srinivasprs
    @srinivasprs 3 ปีที่แล้ว

    Excellent video. Cleared my basics on SNS and SQS before going to my AWS SA Exam in next two days. Thank you :)

    • @BeABetterDev
      @BeABetterDev  3 ปีที่แล้ว

      You're very welcome sriniva! Good luck!

  • @sowellmemo
    @sowellmemo 4 ปีที่แล้ว +1

    Thank you. Well explained.

  • @muhammadyaqoob9777
    @muhammadyaqoob9777 4 ปีที่แล้ว +1

    nicely explained!! thanks and really appreciate you sharing this!

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

    Really useful video I should admit, Keep rocking with such amazing content!

  • @shashikantdivekar7839
    @shashikantdivekar7839 2 ปีที่แล้ว

    Very nicely presented and made things clear. Thank you Sir.

  • @wilsonadin1
    @wilsonadin1 4 ปีที่แล้ว +1

    Very goog explanation.

  • @vimalm2064
    @vimalm2064 2 ปีที่แล้ว

    Thank you Sir, Awesome explanation

  • @anshikagupta4931
    @anshikagupta4931 3 ปีที่แล้ว

    Nicely done !

  • @markusfeljofsen8345
    @markusfeljofsen8345 2 ปีที่แล้ว

    What an awesome explanation! Love it.

  • @ameylokhande9918
    @ameylokhande9918 4 ปีที่แล้ว +1

    Great explanation!

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

    Great explanation, really helpful

  • @daviesoludare5821
    @daviesoludare5821 4 ปีที่แล้ว +1

    Loved it. You've gained a new subscriber.

  • @jiangfenglin4359
    @jiangfenglin4359 4 ปีที่แล้ว +1

    You are really good at teaching! Please upload more videos! :)

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

    This is amazing. Thank you.

  • @sandeepg1017
    @sandeepg1017 4 ปีที่แล้ว +1

    Amazing! Thanks for sharing.

    • @BeABetterDev
      @BeABetterDev  4 ปีที่แล้ว

      Thanks sandeep! Glad you enjoyed.