当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- The legality of IPFs / filecoin: protecting personal privacy from disclosure
- 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
- To teach you to easily understand the basic usage of Vue codemirror: mainly to achieve code editing, verification prompt, code formatting
- Contract trading system development | construction of smart contract trading platform
- Can you do it with only six characters?
- Python basic data type -- tuple analysis
- Take you to learn the new methods in Es5
- 意外的元素..所需元素..
- Summary of front-end performance optimization that every front-end engineer should understand:
- Kubernetes and OAM to build a unified, standardized application management platform knowledge! (Internet disk link attached)
猜你喜欢
大会倒计时|2020 PostgreSQL亚洲大会-中文分论坛议程安排
An article takes you to understand CSS3 picture border
The native API of the future trend of the front end: web components
华为Mate 40 系列搭载HMS有什么亮点?
Summary of front-end performance optimization that every front-end engineer should understand:
Digital city responds to relevant national policies and vigorously develops the construction of digital twin platform
ado.net和asp.net的关系
Swagger 3.0 brushes the screen every day. Does it really smell good?
What is the purchasing supplier system? Solution of purchasing supplier management platform
Diamond standard
随机推荐
How about small and medium-sized enterprises choose shared office?
What course of artificial intelligence? Will it replace human work?
Axios learning notes (2): easy to understand the use of XHR and how to package simple Axios
CCR coin frying robot: the boss of bitcoin digital currency, what you have to know
Application insights application insights use application maps to build request link views
事务的隔离级别与所带来的问题
CloudQuery V1.2.0 版本发布
Understanding formatting principles
Application of restful API based on MVC
MongoDB与SQL常用语法对应表
Xmppmini project details: step by step from the principle of practical XMPP technology development 4. String decoding secrets and message package
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
list转换map(根据key来拆分list,相同key的value为一个list)
What the hell is fastthreadlocal? The existence of ThreadLocal!!
Junit测试出现 empty test suite
美团内部讲座|周烜:华东师范大学的数据库系统研究
git远程库回退指定版本
Helping financial technology innovation and development, atfx is at the forefront of the industry
Share with Lianyun: is IPFs / filecoin worth investing in?
递归、回溯算法常用数学基础公式