当前位置:网站首页>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 the tensor in tensorflow?
- Understanding formatting principles
- jenkins安装部署过程简记
- A concise tutorial for Nacos, ribbon and feign
- Zero basis to build a web search engine of its own
- 如何对数据库账号权限进行精细化管理?
- C language I blog assignment 03
- Git rebase is in trouble. What to do? Waiting line
- 谷歌浏览器实现视频播放加速功能
- 检测证书过期脚本
猜你喜欢

Kubernetes and OAM to build a unified, standardized application management platform knowledge! (Internet disk link attached)

How much disk space does a new empty file take?

Why is quicksort so fast?

Digital city responds to relevant national policies and vigorously develops the construction of digital twin platform

From overseas to China, rancher wants to do research on container cloud market

C# 调用SendMessage刷新任务栏图标(强制结束时图标未消失)

How to prepare for the system design interview

What the hell is fastthreadlocal? The existence of ThreadLocal!!

All the way, I was forced to talk about C code debugging skills and remote debugging

An article will take you to understand CSS alignment
随机推荐
ERD-ONLINE 免费在线数据库建模工具
EOS founder BM: what's the difference between UE, UBI and URI?
What knowledge do Python automated testing learn?
What kind of music do you need to make for a complete game?
Basic usage of Vue codemirror: search function, code folding function, get editor value and verify in time
[forward] how to view UserData in Lua
代码重构之法——方法重构分析
事务的隔离级别与所带来的问题
Analysis of serilog source code -- how to use it
大会倒计时|2020 PostgreSQL亚洲大会-中文分论坛议程安排
In depth to uncover the bottom layer of garbage collection, this time let you understand her thoroughly
jenkins安装部署过程简记
What is the meaning of sector sealing of filecoin mining machine since the main network of filecoin was put online
Those who have worked in China for six years and a million annual salary want to share these four points with you
2020-08-29:进程线程的区别,除了包含关系之外的一些区别,底层详细信息?
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:曾文旌
Axios learning notes (2): easy to understand the use of XHR and how to package simple Axios
window系统 本机查找端口号占用方法
How much disk space does a file of 1 byte actually occupy
行为型模式之解释器模式