当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- 统计项目代码行数
- With this artifact, quickly say goodbye to spam messages
- Analysis of serilog source code -- how to use it
- From overseas to China, rancher wants to do research on container cloud market
- ado.net和asp.net的关系
- StickEngine-架构11-消息队列(MessageQueue)
- (2) ASP.NET Core3.1 Ocelot routing
- How to make characters move
- How to prepare for the system design interview
- Metersphere developer's Manual
猜你喜欢

An article taught you to download cool dog music using Python web crawler

Diamond standard

2020-09-09:裸写算法:两个线程轮流打印数字1-100。

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

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

2020-08-29:进程线程的区别,除了包含关系之外的一些区别,底层详细信息?

ES6 learning notes (3): teach you to use js object-oriented thinking to realize the function of adding, deleting, modifying and checking tab column

What course of artificial intelligence? Will it replace human work?

Axios learning notes (2): easy to understand the use of XHR and how to package simple Axios

The method of realizing high SLO on large scale kubernetes cluster
随机推荐
统计项目代码行数
Will blockchain be the antidote to the global epidemic accelerating the transformation of Internet enterprises?
An article takes you to understand CSS gradient knowledge
How to understand Python iterators and generators?
Description of phpshe SMS plug-in
Git rebase is in trouble. What to do? Waiting line
解决 WPF 绑定集合后数据变动界面却不更新的问题
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:王涛
Application of restful API based on MVC
ES6 learning notes (2): teach you to play with class inheritance and class objects
DC-1靶機
Helping financial technology innovation and development, atfx is at the forefront of the industry
window系统 本机查找端口号占用方法
The legality of IPFs / filecoin: protecting personal privacy from disclosure
行为型模式之解释器模式
代码重构之法——方法重构分析
DC-1 target
事务的本质和死锁的原理
How to play sortable JS vuedraggable to realize nested drag function of forms
What course of artificial intelligence? Will it replace human work?