当前位置:网站首页>MQ advantages and disadvantages (2022.5.2-5.8)
MQ advantages and disadvantages (2022.5.2-5.8)
2022-06-30 19:34:00 【Water is water】
Advantages and disadvantages of message queuing
advantage
That's already been said , system decoupling , Asynchronous call , Traffic peak clipping .
shortcoming
① Reduced system availability : The more external dependencies the system introduces , The higher the risk the system has to face , Take scene one , Originally ABCD The four systems work well together , No problem , But you have to get one MQ Come in and step in , Although there are many benefits , But in case MQ Hang up. , Then your system will hang up .
② Increased system complexity : I have to add one MQ Come in , How to ensure that there is no repeated consumption ? How to handle message loss ? How to ensure the order of message delivery ? Too many questions .
③ The question of consistency :A The system will process it and then transfer it to MQ It returns directly to success , The user thinks your request succeeded , however , If in BCD In the system ,BC The two systems are successfully written to the library ,D What if the system fails to write to the library , This leads to inconsistent data .
therefore . Message queuing is actually a very complex architecture , You're enjoying MQ While bringing benefits , We should also make various technical solutions MQ Solve a series of problems brought by , When it's all done , The complexity of the system has been raised by a level .
边栏推荐
- Coding officially entered Tencent conference application market!
- Opencv data type code table dtype
- 「经验」爬虫在工作中的实战应用『理论篇』
- 基于 actix、async-graphql、rbatis、pgsql/mysql 构建 GraphQL 服务(4)-变更服务
- 手机炒股开户安全嘛!?
- 测试人进阶技能:单元测试报告应用指南
- Ansi/ul 94 class 5-V vertical combustion test
- 一文详解|Go 分布式链路追踪实现原理
- German agbb VOC hazardous substances test
- Iris, the web framework of go
猜你喜欢
随机推荐
如何使用物联网低代码平台进行服务管理?
开发那些事儿:如何在视频中添加文字水印?
German agbb VOC hazardous substances test
JS 如何正确清除一个元素下的所有子元素
ArcGIS no plug-in load (no offset) day map
Year after year, why is breaking the data island still the primary task of enterprise development
nats集群部署
MySQL 索引测试
MySQL modify data type_ MySQL modify field type [easy to understand]
MQ组成部分(2022.5.16-5.22)
【PHP】自研框架QPHP,qphp框架使用
新版EasyGBS如何配置WebRTC视频流格式播放?
torch stack() meshgrid()
假期安全不放假,VR交通让孩子安全出行|广州华锐视点
Nodejs 安装与介绍
Practical application of "experience" crawler in work "theory"
【DesignMode】单例模式(singleton pattern)
图扑软件通过 CMMI5 级认证!| 国际软件领域高权威高等级认证
企业选型作业上常犯的一个错误
Mipi protocol in RFFE









