当前位置:网站首页>Stickinengine architecture 11 message queue
Stickinengine architecture 11 message queue
2020-11-06 21:14:00 【Dream gamer】
The overall overview is https://my.oschina.net/kkkkkkkkkkkkk/blog/3190865
there Message queue (MessageQueue) It's a little different from the general concept , Here is to solve the problem of multi-channel in the server point-to-point communication .
routine IPC One solution is that there will be a channel between servers (TCP-socket), Come on, double work .
stay StickEngine Add message queue The goal is to enhance the multithreading process IPC performance .
Point to point MQ There are the following Rules and features :
1.RPC One question and one answer mode in the model , They correspond Channel It's the same . The decision is RPC Call the initiator .
2.Channel The load algorithm is rotation training + Current limiting .
3. In the message model ,Channel It may be inconsistent .
4. It's not the same thing Channel There is no guarantee that the message is sequential
5. The basic communication protocol is TCP,Channel Designed for duplex Working mode .
6. As long as there is one Channel You can use , Then I think we should MQ You can use .
版权声明
本文为[Dream gamer]所创,转载请带上原文链接,感谢
边栏推荐
- Hdu3974 assign the task segment tree DFS order
- 实用工具类函数(持续更新)
- Python 100 cases
- nacos、ribbon和feign的簡明教程
- C language I blog assignment 03
- Metersphere developer's Manual
- Top 5 Chinese cloud manufacturers in 2018: Alibaba cloud, Tencent cloud, AWS, telecom, Unicom
- What knowledge do Python automated testing learn?
- Use modelarts quickly, zero base white can also play AI!
- 意派Epub360丨你想要的H5模板都在这里,电子书、大转盘、红包雨、问卷调查……
猜你喜欢
Isn't data product just a report? absolutely wrong! There are university questions in this category
Some operations kept in mind by the front end foundation GitHub warehouse management
ES6 learning notes (4): easy to understand the new grammar of ES6
git远程库回退指定版本
Small program introduction to proficient (2): understand the four important files of small program development
Will blockchain be the antidote to the global epidemic accelerating the transformation of Internet enterprises?
C and C / C + + mixed programming series 5 - GC collaboration of memory management
Digital city responds to relevant national policies and vigorously develops the construction of digital twin platform
Flink's datasource Trilogy 2: built in connector
Diamond standard
随机推荐
Xmppmini project details: step by step from the principle of practical XMPP technology development 4. String decoding secrets and message package
2020-08-15:什么情况下数据任务需要优化?
list转换map(根据key来拆分list,相同key的value为一个list)
如何对数据库账号权限进行精细化管理?
The AI method put forward by China has more and more influence. Tianda et al. Mined the development law of AI from a large number of literatures
html+ vue.js Implementing paging compatible IE
代码重构之法——方法重构分析
Diamond standard
DC-1 target
Zero basis to build a web search engine of its own
The role of theme music in games
2020年第四届中国 BIM (数字建造)经理高峰论坛即将在杭举办
What kind of music do you need to make for a complete game?
Python 100 cases
【学习】接口测试用例编写和测试关注点
Take you to learn the new methods in Es5
Analysis of serilog source code -- how to use it
Some operations kept in mind by the front end foundation GitHub warehouse management
Understanding formatting principles
细数软件工程----各阶段必不可少的那些图