当前位置:网站首页>StickEngine-架构11-消息队列(MessageQueue)
StickEngine-架构11-消息队列(MessageQueue)
2020-11-06 21:14:00 【梦想游戏人】
整体概述是 https://my.oschina.net/kkkkkkkkkkkkk/blog/3190865
这里的 消息队列(MessageQueue) 和广义的概念有点区别,这里是为了解决服务器点对点通信中的多信道。
常规IPC方案之一是服务器之间之会有一条信道(TCP-socket),来就行双工工作。
在StickEngine中添加message queue 的目的是加强多线程化的进程 IPC性能。
该点对点的MQ有以下 规则和特点:
1.RPC模型中一问一答模式,他们通信的Channel是同一条。决定方为RPC调用发起方。
2.Channel负载算法为轮训+限流。
3.消息模型中,Channel则可能会不一致。
4.非同一条Channel的消息不保证顺序性
5.通信基础协议为TCP,Channel设计为双工 工作模式。
6.只要有一条Channel可用,那么就认为该MQ可用。
版权声明
本文为[梦想游戏人]所创,转载请带上原文链接,感谢
https://my.oschina.net/kkkkkkkkkkkkk/blog/4463276
边栏推荐
- 【應用程式見解 Application Insights】Application Insights 使用 Application Maps 構建請求鏈路檢視
- Wow, elasticsearch multi field weight sorting can play like this
- 快速排序为什么这么快?
- 有了这个神器,快速告别垃圾短信邮件
- How to hide part of barcode text in barcode generation software
- Brief introduction and advantages and disadvantages of deepwalk model
- Basic usage of GDB debugging
- Advanced Vue component pattern (3)
- [C / C + + 1] clion configuration and running C language
- 5.4 static resource mapping
猜你喜欢

Mac installation hanlp, and win installation and use

文件过多时ls命令为什么会卡住?

Natural language processing - BM25 commonly used in search

What are PLC Analog input and digital input

ES6学习笔记(二):教你玩转类的继承和类的对象

NLP model Bert: from introduction to mastery (2)

理解格式化原理

Elasticsearch数据库 | Elasticsearch-7.5.0应用搭建实战

一篇文章带你了解CSS3圆角知识

Custom function form of pychar shortcut key
随机推荐
一路踩坑,被迫聊聊 C# 代码调试技巧和远程调试
C語言I部落格作業03
Three Python tips for reading, creating and running multiple files
The data of pandas was scrambled and the training machine and testing machine set were selected
快速排序为什么这么快?
[Xinge education] poor learning host computer series -- building step 7 Simulation Environment
Vite + TS quickly build vue3 project and introduce related features
Recommendation system based on deep learning
小游戏云开发入门
Network security engineer Demo: the original * * is to get your computer administrator rights! [maintain]
vue-codemirror基本用法:实现搜索功能、代码折叠功能、获取编辑器值及时验证
What are PLC Analog input and digital input
axios学习笔记(二):轻松弄懂XHR的使用及如何封装简易axios
Even liver three all night, jvm77 high frequency interview questions detailed analysis, this?
Individual annual work summary and 2019 work plan (Internet)
6.5 request to view name translator (in-depth analysis of SSM and project practice)
只有1个字节的文件实际占用多少磁盘空间
Multi classification of unbalanced text using AWS sagemaker blazingtext
Mac installation hanlp, and win installation and use
Wechat applet: prevent multiple click jump (function throttling)