当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- What is alicloud's experience of sweeping goods for 100 yuan?
- Flink's datasource Trilogy: direct API
- Axios learning notes (2): easy to understand the use of XHR and how to package simple Axios
- 2020-08-19:TCP是通过什么机制保障可靠性的?
- Those who have worked in China for six years and a million annual salary want to share these four points with you
- mongo 用户权限 登录指令
- With this artifact, quickly say goodbye to spam messages
- 实用工具类函数(持续更新)
- ES6 learning notes (4): easy to understand the new grammar of ES6
- 2020-08-24:什么是小文件?很多小文件会有什么问题?很多小文件怎么解决?(大数据)
猜你喜欢

2020-08-19:TCP是通过什么机制保障可靠性的?

Summary of front-end interview questions (C, s, s) that front-end engineers need to understand (2)

2020-08-14:数据任务的执行引擎用的哪些?

Description of phpshe SMS plug-in

面试官: ShardingSphere 学一下吧

【:: 是什么语法?】

Basic usage of Vue codemirror: search function, code folding function, get editor value and verify in time

事务的本质和死锁的原理

IPFs rudder filecoin landing at the same time, fil currency price broke a thousand

What knowledge do Python automated testing learn?
随机推荐
How does filecoin's economic model and future value support the price of fil currency breaking through thousands
2020-08-20:GO语言中的协程与Python中的协程的区别?
Digital city responds to relevant national policies and vigorously develops the construction of digital twin platform
Call analysis of start method in JNI thread and callback analysis of run method
Understanding formatting principles
list转换map(根据key来拆分list,相同key的value为一个list)
What kind of music do you need to make for a complete game?
如何对数据库账号权限进行精细化管理?
2020-09-09:裸写算法:两个线程轮流打印数字1-100。
2020年第四届中国 BIM (数字建造)经理高峰论坛即将在杭举办
Application insights application insights use application maps to build request link views
An article takes you to understand CSS pagination examples
2020年数据库技术大会助力技术提升
The method of realizing high SLO on large scale kubernetes cluster
DC-1靶機
Python 100 cases
Using an example to understand the underlying processing mechanism of JS function
This project allows you to quickly learn about a programming language in a few minutes
2020-09-04:函数调用约定了解么?
ES6 learning notes (5): easy to understand ES6's built-in extension objects