当前位置:网站首页>从ES、MongoDB、Redis、RocketMQ出发谈分布式存储
从ES、MongoDB、Redis、RocketMQ出发谈分布式存储
2022-04-23 06:32:00 【梦江河梦】
Redis
redis分片集群是多个支持主从故障自动切换的小集群组成的整个集群通过gossip协议通信,去中心化架构,客户端入口依赖客户端API
ES
ES没有从节点的概念,只有主分片和副分片的概念,一个数据节点既有主分片也有副分片,通过集群唯一的master进行统一管理,中心化架构,客户端入口是协调节点
MongoDB
MongoDB有三种节点,Config Server,Shard Server,Route Server,Config Server类似ES的master,中心化架构,Shard Server具有主节点和从节点的概念,和Redis类似,Route Server是guanli客户端统一入口,类似ES的协调节点,相比ES,MongoDB的架构要简单一些
RocketMQ
nameserver无状态,每个broker集群有一个主节点,若干个从节点,broker集群之间互相独立,类似Redis和MongoDB,可以看下之前的文章RocketMQ扩容缩容解决方案,客户端入口是nameserver,为什么nameserver可以无状态呢?因为nameserver不用像ES的master和MongoDB的Config Server一样,统一管理整个集群数据的分布,RocketMQ的数据单位是消息,存在于topic的某个队列下,并且broker拥有哪些topic都是由用户自己设置的,nameserver的作用是broker上报自己当前有哪些topic,队列,客户端也就是生产者消费者去nameserver查询指定的topic存在于哪些broker上,从而进行消费
版权声明
本文为[梦江河梦]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_42002747/article/details/120467551
边栏推荐
- Intranet penetration series: icmpsh of Intranet tunnel
- Unity获取真实地理地图应用Terrain笔记
- Suggestions on university learning route planning
- Understanding the role of individual units in a deep neural networks
- TA notes of Zhuang understand (VII) < Lambert + Phong + shadow + 3evcolor + Ao >
- SQL sorts string numbers
- Plane definition - plane equation
- Nodejs (II) read files synchronously and asynchronously
- 【Unity VFX】VFX特效入门笔记-火花制作
- Unity 获取一个文件依赖的资源
猜你喜欢
随机推荐
Houdini > rigid body, rigid body breaking RBD
Unity C# 单例模式 学习复习笔记
爬虫学习笔记,学习爬虫,看本篇就够了
Learning records of some shooting ranges: sqli labs, upload labs, XSS
庄懂的TA笔记(六)<FakeEnvReflect && 生锈,锈迹效果>
How does Apache Hudi accelerate traditional batch mode?
Unity get real geographic map application terrain notes
Houdini>刚体, 刚体破碎RBD
Reading notes
Expression related to month, year and day in SVG
03Scanner类的使用(控制台输入)
CTF-MISC总结
第五章 投资性房地产
Solve the problem of deploying mysql8 in docker with correct password but unable to log in to MySQL
05 use of array
Enterprise wechat login free jump self built application
About unity to obtain links related to the transformation of real geographic maps into 3D
一些靶场的学习记录:sqli-labs、upload-labs、XSS
第七章 资产减值
CTF攻防世界刷题51-









