当前位置:网站首页>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.
边栏推荐
- 高校就业管理系统设计与实现
- The 125th day of starting a business - a note
- 图解LeetCode——640. 求解方程(难度:中等)
- 阿里低代码框架 lowcode-engine 之自定义物料篇
- When EasyCVR is connected to the GB28181 device, what is the reason that the device is connected normally but the video cannot be played?
- C language recv() function, recvfrom() function, recvmsg() function
- 按摩椅控制板的开发让按摩椅变得简约智能
- "How to kick a bad habit to read notes?
- STC8H开发(十五): GPIO驱动Ci24R1无线模块
- leetcode: 358. Reorder strings at K distance intervals
猜你喜欢

EasyCVR接入海康大华设备选择其它集群服务器时,通道ServerID错误该如何解决?

图解LeetCode——640. 求解方程(难度:中等)

A Practical Arrangement of Map GIS Development Matters (Part 1)

2022-08-10 第六小组 瞒春 学习笔记

AI+Medical: Using Neural Networks for Medical Image Recognition and Analysis

互换性测量技术-几何误差

互换性与测量技术-公差原则与选用方法

Description of ESB product development steps under cloud platform

【愚公系列】2022年08月 Go教学课程 036-类型断言

树莓派入门(5)系统备份
随机推荐
音视频开发,为什么要学习FFmpeg?应该怎么入手FFmpeg学习?
STC8H development (15): GPIO drive Ci24R1 wireless module
【LeetCode】Day112-重复的DNA序列
电力机柜数据监测RTU
AI + medical: for medical image recognition using neural network analysis
Add user error useradd: cannot open /etc/passwd
The last update time of the tables queried by the two nodes of the rac standby database is inconsistent
STC8H开发(十五): GPIO驱动Ci24R1无线模块
[idea error] Invalid target distribution: 17 solution reference
【ADI低功耗2k代码】基于ADuCM4050的ADXL363、TMP75的加速度、温度检测及串口打印、蜂鸣器播放音乐(孤勇者)
"Life Is Like First Seen" is ill-fated, full of characters, and the contrast of Zhu Yawen's characters is too surprising
程序化交易与主观交易对盈利曲线的影响!
字体反扒
What kind of programming trading strategy types can be divided into?
The thirteenth day of learning programming
多商户商城系统功能拆解26讲-平台端分销设置
Detailed explanation of VIT source code
Qnet弱网测试工具操作指南
What has programmatic trading changed?
论文精度 —— 2017 CVPR《High-Resolution Image Inpainting using Multi-Scale Neural Patch Synthesis》