当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- 2020-08-24:什么是小文件?很多小文件会有什么问题?很多小文件怎么解决?(大数据)
- 如何对数据库账号权限进行精细化管理?
- 行为型模式之备忘录模式
- Description of phpshe SMS plug-in
- Try to build my mall from scratch (2): use JWT to protect our information security and perfect swagger configuration
- A small goal in 2019 to become a blog expert of CSDN
- An article takes you to understand CSS3 picture border
- The legality of IPFs / filecoin: protecting personal privacy from disclosure
- Using an example to understand the underlying processing mechanism of JS function
- Summary of front-end interview questions (C, s, s) that front-end engineers need to understand (2)
猜你喜欢
Look! Internet, e-commerce offline big data analysis best practice! (Internet disk link attached)
An article will take you to understand SVG gradient knowledge
window系统 本机查找端口号占用方法
2020-08-15:什么情况下数据任务需要优化?
ORA-02292: 违反完整约束条件 (MIDBJDEV2.SYS_C0020757) - 已找到子记录
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:曾文旌
ES6 learning notes (4): easy to understand the new grammar of ES6
Can you do it with only six characters?
This project allows you to quickly learn about a programming language in a few minutes
MongoDB与SQL常用语法对应表
随机推荐
What is the tensor in tensorflow?
Python 100 cases
Introduction to the development of small game cloud
EOS founder BM: what's the difference between UE, UBI and URI?
How to prepare for the system design interview
An article will introduce you to CSS3 background knowledge
面试官: ShardingSphere 学一下吧
An article will take you to understand CSS3 fillet knowledge
【涂鸦物联网足迹】涂鸦云平台全景介绍
Behind the first lane level navigation in the industry
Visual rolling [contrast beauty]
The importance of big data application is reflected in all aspects
From overseas to China, rancher wants to do research on container cloud market
Python basic variable type -- list analysis
Summary of front-end interview questions (C, s, s) that front-end engineers need to understand (2)
A concise tutorial for Nacos, ribbon and feign
ERD-ONLINE 免费在线数据库建模工具
An article will take you to understand CSS alignment
How much disk space does a new empty file take?
Flink's datasource Trilogy: direct API