What is Message Queueing? Message Queue explained.

Поділитися
Вставка
  • Опубліковано 23 гру 2024

КОМЕНТАРІ • 23

  • @dahliaferrer2098
    @dahliaferrer2098 2 роки тому +2

    EXCELLENT, explanation. I now feel like I understand asynchronous message queues and I'm not a developer. TY for the graphics, the thoughtful presentation. Very appreciated!

  • @lester_cch9877
    @lester_cch9877 Рік тому

    I LOVE YOU! GOD BLESS YOU! Always trying to understand this and now it's been very simple with the queue message example with Dinner system.

  • @PancitoTostado
    @PancitoTostado 2 роки тому +2

    Great job modeling the queue and their examples :)

  • @bayesian7404
    @bayesian7404 4 роки тому +2

    great job. I look forward to watching more videos from you on MQ.

  • @027KANDUKURIBALAVIKASH
    @027KANDUKURIBALAVIKASH 4 місяці тому

    What if MQ is full? or it went down for a period of time? Maintaining a Redundant MQ is costly and not effective solution i guess. Any other alternative?

  • @rainingjokerRevived
    @rainingjokerRevived 4 роки тому +1

    nice and fast way of explaining the concept and how it's useful

  • @baracjohn3913
    @baracjohn3913 4 роки тому +2

    really nice explanation

  • @m_t_t_
    @m_t_t_ 2 роки тому

    When does the queue service remove the data from the queue and send it to the microservice? eg, how does the queue service know that there are items waiting in the queue?

    • @CloudAMQP
      @CloudAMQP  2 роки тому +2

      Let's take the protocol AMQP 0-9-1 as an example (used by RabbitMQ). Here we use an acknowledgement/confirm mechanism that the message has been received by the consumer, and/or the task has been completed. Automatic acknowledgements are usually called "fire-and-forget" and tells the queue to discard the message when it's sent successfully. Manual acknowledgements on the other hand requires some logic to be implemented on the consumer side (microservice), that sends a command back to the queue once it's been successfully processed (ack) or failed to complete (nack). The latter allows the queue to re-add the message into the queue if it never receives an ack from the consumer, or if it receives a nack. Which method to use all comes down to your specific use case for the specific queue, and the importance of the data that is sent.
      Every microservice establishes a connection + channel to the queue that is long lived. So a message is delivered automatically to any microservice that is connected to the queue and ready to receive messages. If there are no consumer available, the message is stored safely in the queue until it can be delivered.

    • @m_t_t_
      @m_t_t_ 2 роки тому

      @@CloudAMQP Thank you very much. I understand now

  • @LittleTechExplorer
    @LittleTechExplorer 3 роки тому +2

    very well explained with a beautiful presentation 👍

  • @martinabeita8852
    @martinabeita8852 Рік тому

    aren't message queue and message broker different?

  • @darthvader_
    @darthvader_ 2 роки тому

    I have a question. What happens if the consumer consumes the message and for some reason crashes. How do you make sure that the message in the queue (before the consumer failed) is serviced? Do you maintain another queue? or something like a log that captures the state? pass on to a different consumer (assuming ur system is scaled)?

    • @CloudAMQP
      @CloudAMQP  2 роки тому

      You can use acknowledgements in RabbitMQ, where the consumer needs to ack the message before it is removed from the queue.

  • @ksgdeveloper
    @ksgdeveloper 3 роки тому

    Very well explained. Please add more videos. thanks

  • @kevinnguyen9703
    @kevinnguyen9703 3 роки тому

    Very nice, simple visual of async vs sync

  • @RuslanSkiraUkraine
    @RuslanSkiraUkraine 4 роки тому

    Thank you for your work.
    Maybe you work with celery? ) I'm interested in how to work in the situation with 'dead letter queue' in Celery.

  • @irfanafzalkhan5786
    @irfanafzalkhan5786 3 роки тому

    Great job

  • @GidzPaul
    @GidzPaul 9 місяців тому

    Thank you

  • @myadarapuakhil9560
    @myadarapuakhil9560 Рік тому

    Thanks!

  • @namenone8387
    @namenone8387 4 роки тому

    no comments?

  • @michaelprice8402
    @michaelprice8402 Рік тому

    Does this get used on UA-cam Live Stream Chat? I have a background running system having a problem with MFResident.exe Is this affiliated with Message Queuing Service?