Message Queue summary and queue Summary

Source: Internet
Author: User

Message Queue summary and queue Summary

I. First, let's take a look at the common use cases of Message Queues:

  • Asynchronous Message notification (SMS or email)
  • Application decoupling (Order and inventory)
  • Traffic buffer (second kill)
  • Log Processing
  • Message reliability (persistent, can still be used after restart)

 

Ii. Two Message Queue specifications and their comparison

Currently, the two main message specifications are JMS and AMQP. The comparison between the two is as follows:

  • AMQP can be used across languages and platforms; JMS can only be used in Java
  • The JMS message model only includes: point-to-point and publish subscription, while AMQP supports more flexible message models, such as (Direct, Topic, Headers, and Fanout)
  • JMS representative: ActiveMQ; AMQP representative: RabbitMQ

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.