System design basics: What is asynchronous processing?

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

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

  • @m13m
    @m13m 5 лет назад +16

    Great video Narendra :)
    The common pattern for async programming:
    1. Callbacks
    2. Placeholder style (future, promise and deferred)
    3. Queue
    4. Signals

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

    Great Explanation !!

  • @chrisy.703
    @chrisy.703 3 года назад

    this is really good!

  • @varunvats32
    @varunvats32 5 лет назад +4

    Great content as always.

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

    this is one of your best videos.

  • @AbhishekSharma-si8ui
    @AbhishekSharma-si8ui 4 года назад +1

    AWESOME

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

    Beautifully explained Naren!
    Thanks a lot.

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

    This is exactly what I needed, very good video :D

  • @sandeepharidasula3191
    @sandeepharidasula3191 5 лет назад

    Nice explanation. Thank you so much.

  • @ratnakarjha7716
    @ratnakarjha7716 5 лет назад

    Awesome Video of Async processing :)

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

    thanks a lot

  • @siddharthkumar7561
    @siddharthkumar7561 5 лет назад

    Awesome video sir :) Thanks a lott

  • @subee128
    @subee128 5 месяцев назад

    Thanks

  • @summitfxx
    @summitfxx 5 лет назад

    Narendra! Great Content. Thanks

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

    Very nice 👍

  • @321zipzapzoom
    @321zipzapzoom 5 лет назад

    Great content again..wish you a happy new year dear Naren

  • @hnasr
    @hnasr 5 лет назад +5

    Thanks for getting a mic 🎙 audio is better

  • @Ayush-gp9tx
    @Ayush-gp9tx 4 года назад

    Good one. The usage of real-life examples like the takeaway one was nice.

  • @dhanushkakumarage1889
    @dhanushkakumarage1889 5 лет назад

    Good explanation.. thanks

  • @UntamedRogueMavrick
    @UntamedRogueMavrick 5 лет назад +1

    Great Video Narendra!!! I got lots of help from the tutorial.

  • @chaselong93
    @chaselong93 5 лет назад +1

    Good content. Thanks, Narendra.
    Here are some ideas for other viewers about handling failures. Say a worker reads a message from the queue. The worker starts processing the message, but then the worker crashes. The message is then lost, because it was removed from the queue. One solution is for the message queue to expect confirmation when a message is handled. If a worker takes a message, but doesn't tell the queue "the message is handled" within some time limit, then the message queue software puts the message back in the queue. In this case, it's important for the work to be idempotent or for workers to anticipate race conditions, since a worker might time out some task even if the worker does not crash. If a message is re-queued too many times, then the message is discarded or sent to a "poison queue". Other workers watch the poison queue and decide how to handle the failed tasks.

  • @beinglogicalyadav9750
    @beinglogicalyadav9750 5 лет назад

    Nice explanation.....keep it up bro

  • @kowsikgelli7257
    @kowsikgelli7257 5 лет назад

    Great video bro👍

  • @narendrayadav71
    @narendrayadav71 5 лет назад

    Better sound...(Y) Great Video..!!

  • @pawandeepchor89
    @pawandeepchor89 5 лет назад

    I am fan :)

  • @RohanMaheshwari7
    @RohanMaheshwari7 5 лет назад

    Hey man, I have interviews coming up and these videos are incredibly helpful. Thanks a ton! Will keep a lookout for your content.

  • @shivprakashy
    @shivprakashy 5 лет назад

    Nice work Narendra👌

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

    From where do you get the system designs?

  • @kchaitanya39
    @kchaitanya39 5 лет назад +2

    Nice explaination sir

  • @Gerald-iz7mv
    @Gerald-iz7mv 2 года назад

    can you use kafka and rabbitmq as a message queue?

  • @chandrashekhar9470
    @chandrashekhar9470 5 лет назад

    What a detailed explanation.Could u please suggest how did you learnt all these? Please suggest some study materials.Thanks

  • @pallavisingh2912
    @pallavisingh2912 5 лет назад +1

    Thank You for the explanation. What happens when the messaging queue crashes?

    • @20frieza
      @20frieza 5 лет назад +3

      Generally you would not have just one queue for this kind of stuff.. You will have multiple queues. However, coming back to your question, queues are inherently fault tolerant, meaning they log everything and if they fail they create the last state. So if you happened to send a message to queue, and it crashes after accepting the message, in that case, when it is comes back online, it will recreate its last state from the logs and pass the message to the threads. Hope this helps

    • @pallavisingh2912
      @pallavisingh2912 5 лет назад

      @@20frieza Thank You..That was very well explained.. :)

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

    Great! How would we handle the downtime of queue(RabbitMQ, Kafka etc)?

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

      kafka is durable, we can configure rabbitmq to be the same. So whenever it's back up it'll republish the messages

  • @sharukhrahman7925
    @sharukhrahman7925 5 лет назад

    in scalable Point of View can i say this works like a pipeline manner??

  • @shivanigoyal1677
    @shivanigoyal1677 5 лет назад

    Can you please make a video on fb system design?

  • @anthonygood4598
    @anthonygood4598 5 лет назад

    Great video but web app looked like more of parallel processing rather than asynchronous processing.

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

      we are not giving response to the client after video processing but immediately so that client is not waiting for app server

  • @mdiyasinarafat3904
    @mdiyasinarafat3904 5 лет назад

    Awesome, I have few question. Here (ruclips.net/video/BFcNDPt6SlE/видео.html) you told that we need to pass video reference not the video and send the video in queue is not good practice. Will you clear me how we could send the video reference in the queue? If we save the video another place that also need some time to store the video and how we could optimize that also?

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

      the client needs to upload the video to some data storage like S3

  • @大盗江南
    @大盗江南 4 года назад

    Jesus Christ... How many things do u know! Narendra :D Thank you

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

      Ha ha, I learn and present. I don't know all

    • @大盗江南
      @大盗江南 4 года назад

      @@TechDummiesNarendraL r u interested in doing some algorithm videos? (add more ads plz, that's the least we can do :))

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

    HI Naren,
    I need a small help with the system design question i'm trying to solve. It would be helpful if we can have a char or if you share your email. Looking forward. Thank you

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

    Tyala mahit

  • @AbhishekSharma-si8ui
    @AbhishekSharma-si8ui 4 года назад +1

    AWESOME