当前位置:网站首页>Differences and connections between distributed and clustered
Differences and connections between distributed and clustered
2022-08-11 03:32:00 【Xu-Xiao An'an】
Original service
Cluster:
A cluster is to copy the same sub-business system into multiple copies and deploy them on multiple servers. These multiple servers install them in the physical space of the same location to form a collective group, which is called a cluster..Clustering is used to improve application performance and enable the system to achieve high throughput and high availability in high concurrency scenarios;
Distributed:
Distribution is to split a complex business system into multiple sub-business systems, deploy them on each different server, connect them through the network, and cooperate to complete a business by exchanging information.
Distributed + Cluster:
Distributed and clustered difference:
Distributed refers to distributing different services to different places.
Clustering refers to the grouping of several servers together, which is actually the same business.
Each node in the distribution can be used as a cluster.And the cluster is not necessarily distributed.
Summary:
The system and architecture should never separate the distributed and the cluster, but should be an organic combination and combination of the two.If we want our system to achieve high performance, high availability, and high throughput, then we should first distribute (split) from the perspective of architecture and deployment, and then deploy each node in a cluster, so thatIt can greatly improve the overall performance and robustness of the system.
In short, distributed improves efficiency by shortening the execution time of a single task, while clustering improves efficiency by increasing the number of tasks executed per unit time.
For example: If a task consists of 10 subtasks, and each subtask takes 1 hour to execute individually, it will take 10 hours to execute the task on one server.
Using a distributed solution, 10 servers are provided, each server is only responsible for processing one sub-task, regardless of the dependencies between sub-tasks, it only takes 1 hour to complete the task.
In a stand-alone environment, a server can only process one task, and 10 tasks are 10 hours. However, if we adopt a cluster solution, deploy 10 servers, and each server handles one task, then 1 hour will takeThese 10 tasks can be processed and completed, which is the improvement of efficiency.
边栏推荐
- Redis老了吗?Redis与Dragonfly性能比较
- Is there any way for kingbaseES to not read the system view under sys_catalog by default?
- CSDN blog replacement skin
- Kubernetes集群搭建Zabbix监控平台
- 二叉树相关代码题【较全】C语言
- 2022-08-10 第六小组 瞒春 学习笔记
- 没想到MySQL还会问这些...
- 基于改进YOLOv5轻量化的烟火检测
- E-commerce project - mall time-limited seckill function system
- [BX]和loop
猜你喜欢
大马驮2石粮食,中马驮1石粮食,两头小马驮一石粮食,要用100匹马,驮100石粮食,如何分配?
Build Zabbix Kubernetes cluster monitoring platform
What should I do if the channel ServerID is incorrect when EasyCVR is connected to a Hikvision Dahua device and selects another cluster server?
Google search skills - programmer is recommended
QueryDet: Cascading Sparse Query Accelerates Small Object Detection at High Resolution
互换性测量与技术——偏差与公差的计算,公差图的绘制,配合与公差等级的选择方法
VIT 源码详解
【愚公系列】2022年08月 Go教学课程 035-接口和继承和转换与空接口
Briefly, talk about the use of @Transactional in the project
Multi-merchant mall system function disassembly 26 lectures - platform-side distribution settings
随机推荐
Meaning of df and df -lh
The 125th day of starting a business - a note
Getting Started with Raspberry Pi (5) System Backup
leetcode: 358. Reorder strings at K distance intervals
"Life Is Like First Seen" is ill-fated, full of characters, and the contrast of Zhu Yawen's characters is too surprising
Add user error useradd: cannot open /etc/passwd
Typescript学习笔记 | 字节青训营笔记
IDE compilation error: Dangling metacharacter
【愚公系列】2022年08月 Go教学课程 035-接口和继承和转换与空接口
JS-DOM element object
Paper Accuracy - 2017 CVPR "High-Resolution Image Inpainting using Multi-Scale Neural Patch Synthesis"
The thirteenth day of learning programming
高度塌陷问题的解决办法
rac备库双节点查询到的表最后更新时间不一致
基于改进YOLOv5轻量化的烟火检测
输入起始位置,终止位置截取链表
Goodbye Guangzhou paper invoices!The issuance of electronic invoices for accommodation fees will completely replace the invoices of hotels, restaurants and gas stations
索引的创建、查看、删除
UNI-APP_iphone苹果手机底部安全区域
EasyCVR接入海康大华设备选择其它集群服务器时,通道ServerID错误该如何解决?