Message Queues | Producer Consumer Model | System Design Tutorials | Part 11 | 2020

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 191

  • @rishisharma3569
    @rishisharma3569 3 года назад +65

    I normally don't comment anything on youtube videos but this playlist has been so informative n helpful that I had to stop by to appreciate all the hard work. Kudos !!

    • @pbmusicable
      @pbmusicable 3 года назад

      I totally agree. Amazing work here 🙏

    • @jeltexx
      @jeltexx 2 года назад

      x2. I think she is really amazing. I have been enjoying this Playlist...

    • @mtr2936
      @mtr2936 2 года назад

      mujhe bhi padha do rishi sir

    • @mtr2936
      @mtr2936 2 года назад

      @Rishi Sharma

  • @jlin3243
    @jlin3243 2 года назад +3

    Thank you for making these videos. I passed my architect interview because of you!

    • @sudocode
      @sudocode  2 года назад +1

      Congratulations 🎉

  • @Tarun-Mehta
    @Tarun-Mehta 3 года назад +4

    Even after lots of content on youtube you still thought to create your own videos which is much much better than others.
    Thank you for sharing 🙏. Keep creating content like this. Even i'm mobile application developer still likes it. :)

  • @ugempireninjaaaaaahatori6755
    @ugempireninjaaaaaahatori6755 3 месяца назад +1

    litreally yrr watching this content in 2024 , well appreciated

  • @teemrahb7612
    @teemrahb7612 3 года назад +1

    No words to say how much i appreciate your videos !

  • @michadom21
    @michadom21 2 года назад

    Thank you for the class. I don't need any other resource to understand Message Queues, with this video i got it clear.

  • @eajaazahamed5458
    @eajaazahamed5458 3 года назад +2

    I am really very glad that I came across this channel! The way you explain concepts are just WOW!

  • @nadeem3819
    @nadeem3819 3 года назад +1

    Appreciate the playlist of great videos, presentation style(no bakwas & only information) and links in description.

  • @Van-pf2or
    @Van-pf2or 6 месяцев назад

    Wow. A simplest way to explain an unknown. Your presentation skills are good. Talking slowly, clearly with simple words are plus. Examples chosen are also good. great job.

  • @pieter5466
    @pieter5466 Год назад

    21:23 Seemingly tangential question: which font is used here? Both the red and black. I like the letter spacing.

  • @ericsei5906
    @ericsei5906 2 года назад

    I'm really grateful for this System Design Series, a really decent and to the point.

  • @shikhakashyap4611
    @shikhakashyap4611 3 года назад

    Mam... This your content is so rich as you give real time examples. Thanks for all your efforts.

  • @raidsingh4599
    @raidsingh4599 4 года назад +1

    Best system design content with examples for explaining every concept

    • @sudocode
      @sudocode  4 года назад

      Thanks a lot Gurtej. If you can, please share it with others who might be needing this 😀🤟

  • @AdityaRajVerma
    @AdityaRajVerma 4 года назад +4

    underrated channel awesome content

  • @saketsaurabh3609
    @saketsaurabh3609 3 года назад +1

    Thanks for this video. This is extremely well explained throughout the session. I would recommend everyone who keeps willing to learn various components of system design and engaging themself to learn and understand something better. Thanks a lot 👍✌️

  • @gawarivivek
    @gawarivivek 6 месяцев назад

    One by one quality videos with such a great yet simple explanation! Thanks!! :)

  • @vishnulalmaddy
    @vishnulalmaddy 3 года назад +4

    First of all, Great video thank you, and much appreciated. I have a question. at 16.39, you mentioned the downside of FIFO. but the use case you mentioned about c2, c3, c4 being blocked because of M5 doesn't make sense to me (sorry if I didn't understand it properly).
    M1 -> C1
    M2 -> C2 (will this happen after M1 is completed? if yes, what is the advantage of having multiple consumers)?
    M3 -> C3
    M4 -> C4
    Now looping again.
    M5 -> C1 (Failed)
    but if the consumer is working in parallel, by the time C1 completes M5, C2 will pick up M6 and others so on.
    let me know if i make sense?

    • @jp-wi8xr
      @jp-wi8xr 5 месяцев назад

      @sudocode Have been following your playlist, great comprehensiveness. Have the same doubt, would be great if you could clear!

  • @madhavsharma6029
    @madhavsharma6029 4 года назад +3

    I start to follow your channel because of a new concept... thanks for bringing this topic in this way

    • @sudocode
      @sudocode  4 года назад +1

      Thanks Mohit 🤟🤟

  • @Devdumplings
    @Devdumplings Год назад

    Its simply great, Very helpful for any newbie who want to explore system design. Thanks a lot for the effort you put in.

  • @surbhisingh2897
    @surbhisingh2897 3 года назад +4

    Hi yogita, I am really grateful for your videos. These chunks of information are so beneficial and I am loving knowing all about system design. There is one request if you can make one video on design patterns such as singleton, facade, etc. I am having a hard time understanding it. Thanks in advance. 😊

  • @Nikita-xk9fc
    @Nikita-xk9fc 2 года назад +2

    Thanks for the playlist. One doubt- In case of ordered Message queue, suppose we have 3 consumers, c1 is processing m5, c2->m6, c3->m7 and now the processing of m5 fails, what would happen with m6 and m7 as they were already popped from the MQ? Or, is it that the messages are not been assigned to the consumers parallely?

  • @AbhishekKumar-rt3ps
    @AbhishekKumar-rt3ps 2 года назад

    Thanks mam, your video lectures are very much informative and easy to understand. Keep doing good works.

  • @tapanparida3176
    @tapanparida3176 3 года назад

    You are simply the best!!!! So crisp and clear about things… little more number of use cases would stand your video out from others in RUclips…

  • @hasanalic.n970
    @hasanalic.n970 4 года назад +1

    Thanks a lot for queuing, Lot of hard work behind this lecturing.Thanks a lot once again.

    • @sudocode
      @sudocode  4 года назад +1

      Glad you liked it

  • @manojnanduri1665
    @manojnanduri1665 Год назад

    Very structured, informative and useful. Kudos and thanks for all your efforts!

  • @ckvsam
    @ckvsam 3 года назад

    Very good efforts explaining easy and simple way and organizing the topics properly. Thank you.

  • @NangalumYoutuberThaan
    @NangalumYoutuberThaan Год назад

    You’re becoming my favourite teacher😅🎉 thank you ❤

  • @thegeekb0y
    @thegeekb0y Год назад

    You have very good and to-the-point videos. I really like the easy language used in your videos

  • @SurajPal-be3tf
    @SurajPal-be3tf 3 года назад +2

    If MQs remove the messages after the acknowledgement (that the message has been processed) from a consumer, then in case of multiple consumers, what stops the other consumer from processing the same message? i.e. same message is being processed by two consumers (which is not wanted and may leave the system in an inconsistent state). How do MQs solve this problem?

  • @gargibiswas5841
    @gargibiswas5841 3 года назад

    You really put in a lot of hard work to explain so smoothly. Loved this!!!

  • @AKASH-sw9bs
    @AKASH-sw9bs Год назад

    Thanks , the video was in-depth and practical rather than just theory it focused also on several implementation of industry standard MQ.

  • @AyushKumar-fk5lm
    @AyushKumar-fk5lm 3 года назад +1

    Amazing content simplified! Great learning. Thanks!!

  • @surekhag316
    @surekhag316 2 года назад +2

    I just subscribed by watching this video, superb explanation with real time examples, Thank you so much, please change the color of the marker it is not visible clearly

  • @naveenrajukopparthi3046
    @naveenrajukopparthi3046 2 года назад +1

    Thank You for your great explanation.
    😊

  • @siddharthgaur7919
    @siddharthgaur7919 4 года назад +2

    For sure this added a lot of value to my time!! Nice explanation Yogita, keep it up!! 👍

    • @sudocode
      @sudocode  4 года назад

      Thanks Siddharth. 😅

  • @DJ-pz9re
    @DJ-pz9re 3 года назад +1

    I have a question. If messages are processed one after the other, then what's the use of having multiple consumers. Or all these consumers are performing some different tasks?

  • @amedmemet4081
    @amedmemet4081 Год назад

    Thank you for your simple and detailed explanation.

  • @manishpurohit1765
    @manishpurohit1765 3 года назад

    The playlist is very informative.
    I followed your playlist and was able to crack tower's system's interview

  • @hardikawasthi6210
    @hardikawasthi6210 3 года назад

    At 11:02, what do you mean by "If every request has to be served by the previous request" ? Please elaborate.

    • @subrahmanyagurumurthy5083
      @subrahmanyagurumurthy5083 3 года назад +1

      maybe it was by slip of tongue, read it as "before" instead of "by". I think actually what she means is "If every request has to be served before the previous request". (here previous means the request coming later, I think she had queue of request in her mental model that is why she said before). So if there are requests in the order Rn, ... R3, R2, R1 and if there are no message queues and iff R1 has to be served/processed before R2.... I hope this helps!

  • @swapyish
    @swapyish 2 года назад

    Really informative videos Yogita. Easy to understand and grasp. Kudos to your teaching method and quality content.

  • @bonishagarwal6315
    @bonishagarwal6315 3 месяца назад

    It was really informative.Very well explained

  • @sagarr7600
    @sagarr7600 3 года назад +1

    Thanks a lot for this great content. I have a question..
    Let's say user1 sent 5 messages(M5, M4, M3, M2, M1) to user2. using the producer consumer model we push those messages to a queue.. Now, user1 has instantly decided to delete the M4 message(which is not yet processed by the consumer). what we are supposed to do in this case? do we delete that message from the queue? if yes, how do we do that? or we mark that message as deleted?(so, that we show to user2 as this message got deleted). ignore if any mistakes.. Thanks

    • @sudocode
      @sudocode  3 года назад +1

      Usually in such case you would send M6 which un-does the actions that are done by consumer when M5 is processed. Let's say M5 has the event/data that after consumption sets a value of a variable x from 5 to 10. Then, you can send M6 to set value to 5 again. I would have to check the exact mechanism for deleting messages. Usually messages are deleted from queues after consumption happens.

  • @pravaskumar7078
    @pravaskumar7078 3 года назад

    great ..awesome explanation and example...keep it up

  • @athiramsubbiah2387
    @athiramsubbiah2387 Год назад

    Many Thanks for this wonderful playlist 🙂

  • @UECAshutoshKumar
    @UECAshutoshKumar 5 месяцев назад +1

    Thank you 🙏

  • @reshusingh6005
    @reshusingh6005 2 года назад

    I almost completed all series just within 1 month and feel like Backend Dev is so interesting to delve into

    • @sudocode
      @sudocode  2 года назад +1

      It is very interesting 😊

  • @parvezmulla3324
    @parvezmulla3324 4 года назад +1

    amazing explanation. also, a summary is very much appreciated.

    • @sudocode
      @sudocode  4 года назад +1

      Thanks Parvez. Yeah we will release it soon 😊

  • @cvnikita1
    @cvnikita1 2 года назад

    Taught with clarity. Well done

  • @musical_nights
    @musical_nights 6 месяцев назад

    Really like the way you explain concepts!

  • @mukulpanchakarla8944
    @mukulpanchakarla8944 8 месяцев назад

    Simplified explanation, thankyou!!

  • @juhisweet16
    @juhisweet16 3 года назад

    Yogita, I am so inspired by you .Thank you for all that you do :)

  • @udaym4204
    @udaym4204 10 месяцев назад

    should we use webhook when we get event from payment gateway and insted of directly update database should we update via message queue

  • @-MayurDewangan
    @-MayurDewangan 3 года назад

    Can anyone explain me what is the publisher subscriber model that was mentioned in the summary.
    I have checked the entire video but can't find the meaning of this term

  • @saiprasanthmattupalli4611
    @saiprasanthmattupalli4611 2 года назад

    Very Nice Explanation!! Superb!!

  • @japanboy31415
    @japanboy31415 2 года назад

    so what im hearing is this:
    client -> MQ -> DB
    MQ takes the requests from the client and lines them up accordingly first come first serve.
    then the MQ basically allocates how quickly the clients can ping the DB without crashing it.
    then theres a response queu where the DB responds back to the client.
    is that fair to say ?

  • @shrikantsharma8933
    @shrikantsharma8933 3 года назад +1

    Hi yogita, I really like your videos, just 1 question, which software or tool you are using to put these small animations on prerecorded videos?

    • @sudocode
      @sudocode  3 года назад

      Thanks Shrikant. We use After Effects mainly. Along with some icons and illustrations

  • @pankajpundir3410
    @pankajpundir3410 2 года назад

    Just the video i was looking for. Thanks for this.

  • @VikasSharma-cv1su
    @VikasSharma-cv1su 3 года назад

    I am really enjoying this Playlist. Thanks sudocode for this!

    • @sudocode
      @sudocode  3 года назад +1

      You are welcome Vikas

  • @College_life_and_fun
    @College_life_and_fun 2 года назад +1

    I really like your videos but one suggestion is that can you add also some free source when we can practice some questions asked in interview after learning the concepts

  • @fawadmahdi
    @fawadmahdi 9 месяцев назад

    What about multiple consumers processing messages but ordering matters??
    Great video between🎉

  • @paraslalit4881
    @paraslalit4881 Год назад

    What are the example of message queues or technology that provides these features?

  • @eddanapudir
    @eddanapudir 9 месяцев назад

    Very well explained. Thanks a lot

  • @eslamalaa1787
    @eslamalaa1787 4 года назад +1

    First thanks for your great efforts.
    I have a question at ordering messages with many consumers.. are consumers don’t work in parallel to consume messages.. specially in the case of if fail any message,, remaining consumer don’t take any messages till it passed.. is that right??

    • @pareshmaniyar8273
      @pareshmaniyar8273 3 года назад

      Good question. I think the order of taking up from messaging is of priority. No the processing in consumers. Even for a chat application, the image might be processed later and will arrive later than simple text. Correct me if I am wrong

  • @dhruvthakur7045
    @dhruvthakur7045 2 года назад

    Hi yogita
    Loved your content
    But I didn't find code snippet regarding queues in the description, can u pls let me redirect to that link or provide that link

  • @aayush5474
    @aayush5474 3 года назад

    Golden explanation. Thank you man for sharing your knowledge.

  • @rupeshjha4717
    @rupeshjha4717 4 года назад +7

    Really great insight, Ma'am, it would be a great help if at the end of the series you implement a small project following each concept you taught.
    Thanks a lot for sharing your knowledge ma'am.

    • @sudocode
      @sudocode  4 года назад +5

      Yes Rupesh. That's the plan ahead. Thanks for the support 😊

  • @dalskiBo
    @dalskiBo Год назад

    Best playlist on youTube

  • @sunnymusicalstudio3465
    @sunnymusicalstudio3465 3 года назад

    Thanks for the wonderful detailed insight

    • @sudocode
      @sudocode  3 года назад

      Glad you found it useful.

  • @nayemhasanapu4941
    @nayemhasanapu4941 2 года назад +1

    Excelent tutorial

  • @harshsonigra3040
    @harshsonigra3040 4 года назад +1

    Really enjoyed this informative video ❤️❤️🤩🤩

    • @sudocode
      @sudocode  4 года назад

      Awesome! Thank you!

  • @YumT-vo3xc
    @YumT-vo3xc 11 месяцев назад

    In 2019, I worked on Millicom project and used AWS SQS. I wish this tutorial would have surfaced then.. So much time would have saved..

  • @harshsonigra3040
    @harshsonigra3040 4 года назад +2

    Thank you for giving us the micro details❤️❤️

    • @sudocode
      @sudocode  4 года назад

      My pleasure 😊

  • @AsthaGupta93
    @AsthaGupta93 2 года назад

    Very good real life examples.

  • @vedantsharma5876
    @vedantsharma5876 2 года назад

    Hi Yogita! Excellent video
    I have a question. While Message queues are used for Asynchronous communication, what can be used for Synchronous communication?

  • @adipratapsinghaps
    @adipratapsinghaps 2 года назад

    Yogita, you have stopped posting videos it seems. Your content is too good. It is helpful.

    • @sudocode
      @sudocode  2 года назад

      Last video was 4 days ago :)

  • @sivareddyalavala4425
    @sivareddyalavala4425 2 года назад +1

    Very nice explanation mam

  • @madhavsinghal6230
    @madhavsinghal6230 3 года назад

    Best video on message queue

  • @rollingreene1220
    @rollingreene1220 3 года назад

    Great video - Very concise and informative

  • @gauravpandey599
    @gauravpandey599 4 года назад +1

    Can someone tell me some major differences between Producer/Consumer and Publisher/Subscriber? Both are different but works on same pattern. I am a bit confused.

    • @sudocode
      @sudocode  4 года назад +4

      Sure Gaurav. Producer/Consumer is used when the consumption rate is 1per message. Whereas pub/sub model is used in the case where one message can be consumed multiple times. Let's say we have a message queue with messages M1, M2,M3 in the same order. Incase of producer/consumer, if M1 is consumed/processed by any consumer than it would be deleted from the queue. Whereas incase of pub/sub, M1 can be processed by multiple subscribers. You will be more equipped with these terms once we release the next video which is on pub/sub model 😅

    • @gauravpandey599
      @gauravpandey599 4 года назад +2

      Got it completely and resolved a critical issue while occuring at scaling of server. It is working with pubsub but not with producer/consumer. Now, I know the reason.
      Thanks a lot😁

  • @sakshigupta7616
    @sakshigupta7616 2 года назад

    Loving your content Yogita, keep growing! And making informative system design videos :)

  • @bitlebron8801
    @bitlebron8801 Год назад

    Awesome explanation.

  • @anupamkarn1009
    @anupamkarn1009 3 года назад

    Appreciate the content! General feedback can you use dark color markers in whiteboard? Currently it's not that visible atleast for me.

  • @RollingTheDepth
    @RollingTheDepth 2 года назад

    Thank you. Explained perfectly!!

  • @David-gj2sl
    @David-gj2sl 2 года назад

    Hi Yogita,
    You are the best, thanks for such great explanations :)

  • @hemantjain8777
    @hemantjain8777 4 года назад

    Hi Yogita! Firstly, great stuff...really worth watching. I could not find the code snippet you were talking about. It would be great if you could mention the link once again.

  • @sravanz1
    @sravanz1 3 года назад

    Messages are not Actions(task) sent from producer to consumer. Message contains payload ( data ) like the date range and customer details for generating invoice. Consumer could a service (to generate invoice report based on payload data of message.
    appreciate the effort.

    • @sudocode
      @sudocode  3 года назад

      Messages can contain data, any data that needs to be communicated between two components of a system. It can be event, task, task definition, config and so on.

  • @talesbytejaswini
    @talesbytejaswini 3 года назад

    Great video! Truly it added value to my time.

  • @olamideaboyeji736
    @olamideaboyeji736 Год назад

    Great explanation, Thank you!

  • @shuchivarshney3191
    @shuchivarshney3191 4 года назад +2

    @Yogita - Super Awesome, such a hard work you have done for us, request you please make playlist on KAFKA, need to know more details of KAFKA at such micro level. Thankyou :-)

  • @shahidization
    @shahidization 2 месяца назад

    Can you please use a good color marker! For the audience to read and understand it properly!

  • @ujjwaljain2196
    @ujjwaljain2196 3 года назад

    this is very informative. keep up the good work. Kudos!

    • @sudocode
      @sudocode  3 года назад

      Thanks, will do!

  • @PradeepKumar-db7pe
    @PradeepKumar-db7pe 2 года назад

    Where is this code snippet about how MQ internally works?

  • @Sushil2874
    @Sushil2874 2 года назад

    Excellent explanation !!

  • @TheKamaltomar
    @TheKamaltomar 3 года назад

    Well explained in a very short time. Thank you :)

  • @ganeshannt74
    @ganeshannt74 3 года назад +2

    Don't use green colour marker .... Use black marker always if your board is white... Though I appreciate your content. Subscribed !

  • @priyanka.sarkar
    @priyanka.sarkar 4 года назад +1

    Awesome explanation

    • @sudocode
      @sudocode  4 года назад

      Glad you liked it

  • @JD-hq1kn
    @JD-hq1kn 3 года назад

    Does the OTP that we receive during any verification process follow this principle ? And sometimes we don't get the OTP for too long, does that mean that the Consumer end is down ? Please correct me if I'm wrong.

    • @sravanz1
      @sravanz1 3 года назад

      Sync processing can be applied when a delay in response is OK. OTPs should be immediate and cannot use messaging for OTP generation.
      Aync messages are useful when the request or is not expecting an immediate response. Like generating monthly statements, generating analytics etc

  • @bitlebron8801
    @bitlebron8801 Год назад

    I really like the bank teller example

  • @subrahmanyagurumurthy5083
    @subrahmanyagurumurthy5083 3 года назад +1

    Thank you for your effort.

  • @johnapple3471
    @johnapple3471 2 года назад

    is a sudoUpdate coming?