官术网_书友最值得收藏!

  • RabbitMQ Essentials
  • Lovisa Johansson David Dossot
  • 345字
  • 2021-06-11 18:49:50

Exploring the benefits of message queuing

Communication between various applications plays an important role in distributed systems. There are many examples of when a message queue can be used, so let's highlight some features and benefits of message queuing in microservice architectures:

  • Development and maintenance made easier: Dividing an application across multiple services allows separate responsibilities and gives developers the freedom to write code for a specific service in any chosen language. It will be easier to maintain written code and make changes to the system; when updating a single authentication scheme, only the authentication module must have code added for testing, without it disrupting any other functions.
  • Fault isolation: A fault can be isolated to a single module and will thereby not affect other services. For example, an application with a reporting service temporarily out of function will not affect the authenticate or payment services. As another example, making changes to the reporting service still allows customers to perform essential transactions, even when they aren't able to view reports.
  • Enhanced levels of speed and productivity: Different developers are able to work on different modules at the same time. In addition to speeding up the development cycle, the testing phase is also impacted by the use of microservices and message queues. This is because each service can be tested on its own to determine the readiness of the overall system.
  • Improved scalability: Microservices also allow for effortless scale-out at will. It's possible to add more consumers if the message queue is growing. Adding new components to just one service is easy to do without changing any other service.
  • Easy to understand: Since each module in a microservice architecture represents a single functionality, getting to know the relevant details for a task is easy. For example, hiring a consultant for a single service does not require them to understand the entire system.

Now that is enough knowledge to be dangerous, so it is a good time to dive into the RabbitMQ scenario company that sets the scene for the rest of this book.

主站蜘蛛池模板: 泰顺县| 繁昌县| 武宣县| 宁晋县| 滁州市| 内黄县| 南安市| 鸡西市| 永清县| 峨眉山市| 祥云县| 汾阳市| 镇安县| 东海县| 都江堰市| 土默特右旗| 托克逊县| 崇州市| 子洲县| 庆云县| 葵青区| 松江区| 芜湖市| 巴林左旗| 莲花县| 任丘市| 临西县| 阜城县| 疏附县| 兴业县| 全椒县| 类乌齐县| 大竹县| 合川市| 乳源| 息烽县| 渭南市| 昔阳县| 渑池县| 若羌县| 抚顺市|