当前位置:网站首页>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
边栏推荐
- 5.5 controlleradvice notes - SSM in depth analysis and project practice
- 【自学unity2d传奇游戏开发】地图编辑器
- Introduction to Google software testing
- 一篇文章带你了解CSS3 背景知识
- Our best practices for writing react components
- If PPT is drawn like this, can the defense of work report be passed?
- How to use Python 2.7 after installing anaconda3?
- 零基础打造一款属于自己的网页搜索引擎
- Analysis of query intention recognition
- 6.6.1 localeresolver internationalization parser (1) (in-depth analysis of SSM and project practice)
猜你喜欢

仅用六种字符来完成Hello World,你能做到吗?

Cglib 如何实现多重代理?

What are the common problems of DTU connection

小游戏云开发入门

What to do if you are squeezed by old programmers? I don't want to quit

What are manufacturing and new automation technologies?

Windows 10 tensorflow (2) regression analysis of principles, deep learning framework (gradient descent method to solve regression parameters)

Pattern matching: The gestalt approach一种序列的文本相似度方法

01. SSH Remote terminal and websocket of go language

零基础打造一款属于自己的网页搜索引擎
随机推荐
Vue.js Mobile end left slide delete component
hdu3974 Assign the task線段樹 dfs序
I think it is necessary to write a general idempotent component
Asp.Net Core learning notes: Introduction
01. SSH Remote terminal and websocket of go language
一篇文章带你了解CSS3图片边框
一篇文章带你了解CSS3 背景知识
Details of dapr implementing distributed stateful service
6.1.2 handlermapping mapping processor (2) (in-depth analysis of SSM and project practice)
Individual annual work summary and 2019 work plan (Internet)
一篇文章教会你使用Python网络爬虫下载酷狗音乐
使用 Iceberg on Kubernetes 打造新一代雲原生資料湖
NLP model Bert: from introduction to mastery (1)
【應用程式見解 Application Insights】Application Insights 使用 Application Maps 構建請求鏈路檢視
每个前端工程师都应该懂的前端性能优化总结:
ES6学习笔记(二):教你玩转类的继承和类的对象
零基础打造一款属于自己的网页搜索引擎
一篇文章教会你使用Python网络爬虫下载酷狗音乐
一路踩坑,被迫聊聊 C# 代码调试技巧和远程调试
With the advent of tensorflow 2.0, can pytoch still shake the status of big brother?