当前位置:网站首页>Talking about distributed storage from ES, mongodb, redis and rocketmq
Talking about distributed storage from ES, mongodb, redis and rocketmq
2022-04-23 08:04:00 【Dream river dream】
Redis
redis Partitioned cluster is a whole cluster composed of several small clusters supporting automatic master-slave failover gossip Protocol communication , Decentralized architecture , The client entry depends on the client API
ES
ES There is no concept of slave nodes , Only the concept of main partition and sub partition , A data node has both primary and secondary partitions , Unique through the cluster master Unified management , Centralized architecture , The client entry is the coordination node
MongoDB
MongoDB There are three kinds of nodes ,Config Server,Shard Server,Route Server,Config Server similar ES Of master, Centralized architecture ,Shard Server With the concept of master node and slave node , and Redis similar ,Route Server yes guanli Client unified portal , similar ES Coordination node of , comparison ES,MongoDB The architecture of is simpler
RocketMQ
nameserver No state , Every broker The cluster has a master node , Several slave nodes ,broker Clusters are independent of each other , similar Redis and MongoDB, You can read the previous article RocketMQ Capacity expansion and contraction solution , The client entry is nameserver, Why? nameserver Can be stateless ? because nameserver Don't look like ES Of master and MongoDB Of Config Server equally , Uniformly manage the data distribution of the whole cluster ,RocketMQ The unit of data is message , Exist in topic Under a queue , also broker What do you have topic It's all set by the user ,nameserver The role of is broker Report what you currently have topic, queue , Clients are producers and consumers nameserver query-specified topic In what broker On , So as to consume
版权声明
本文为[Dream river dream]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230629086445.html
边栏推荐
- C read INI file and write data to INI file
- KCD_ EXCEL_ OLE_ TO_ INT_ Convert reports an error sy subrc = 2
- [极客大挑战 2019]Havefun1
- 输入 “ net start mysql ”,出现 “ 发生系统错误 5。 拒绝访问 ” 。问题详解
- Houdini > rigid body, rigid body breaking RBD
- Redis事务实现乐观锁原理
- When using flash, the code ends automatically without an error, the connection cannot be maintained, and the URL cannot be accessed.
- Research on system and software security (5)
- Ribbon启动流程
- SAP TR手动导入系统操作手册
猜你喜欢
SAP STO With Billing流程与配置
MySQL--锁的奥秘--数据怎么锁
linux下mysql数据库备份与恢复(全量+增量)
Houdini terrain and fluid solution (simulated debris flow)
Research on software security based on NLP (I)
内网渗透系列:内网隧道之icmptunnel(jamesbarlow师傅的)
Houdini fluid > > particle fluid export to unity note
Chapter VII asset impairment
SAP sto with billing process and configuration
CTF-MISC学习之从开始到放弃
随机推荐
Mysql database backup and recovery under Linux (full + incremental)
Chapter VII asset impairment
TA notes of Zhuang understand (zero) < bedding and learning methods >
Personality charm of high paid it workers
SAP sto with billing process and configuration
Ctf-misc learning from start to give up
Research on system and software security (2)
A programmer who works four hours a day
feign如何集成hystrix
数据库之Mysql——概述安装篇
Research on software security based on NLP (2)
SAP自建表log功能开启
[极客大挑战 2019]Havefun1
Internal network security attack and defense: a practical guide to penetration testing (IV): Authority improvement analysis and defense
Unity get real geographic map application terrain notes
《内网安全攻防:渗透测试实战指南》读书笔记(五):域内横向移动分析及防御
About USB flash drive data prompt raw, need to format, data recovery notes
RGB color to hex and unit conversion
C problem of marking the position of polygons surrounded by multiple rectangles
Go语学习笔记 - 结构体 | 从零开始Go语言