当前位置:网站首页>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.
边栏推荐
- Typescript study notes | Byte Youth Training Notes
- Roewe imax8ev cube battery security, what blackening and swelling are hidden behind it?
- How does MSP430 download programs to the board?(IAR MSPFET CCS)
- Goodbye Chengdu paper invoices!The issuance of electronic invoices for accommodation expenses will soon completely replace the invoices of hotels, catering and gas stations
- 2022-08-10 The sixth group Hiding spring study notes
- AI+Medical: Using Neural Networks for Medical Image Recognition and Analysis
- 电商项目——商城限时秒杀功能系统
- 电力机柜数据监测RTU
- 分布式和集群的区别和联系
- QueryDet: Cascading Sparse Query Accelerates Small Object Detection at High Resolution
猜你喜欢
[yu gong series] Go program 035-08 2022 interfaces and inheritance and transformation and empty interface
【FPGA】day22-SPI协议回环
互换性测量技术-几何误差
[DB operation management/development solution] Shanghai Daoning provides you with an integrated development tool to improve the convenience of work - Orange
QueryDet:级联稀疏query加速高分辨率下的小目标检测
浮点数在内存中的存储方式
EasyCVR接入GB28181设备时,设备接入正常但视频无法播放是什么原因?
rac备库双节点查询到的表最后更新时间不一致
[BX]和loop
【愚公系列】2022年08月 Go教学课程 036-类型断言
随机推荐
获取链表长度
Redis老了吗?Redis与Dragonfly性能比较
Unity2D animation (1) introduction to Unity scheme - animation system composition and the function of use
oracle的基数会影响到查询速度吗?
Environment configuration of ESP32 (arduino arduino2.0 VScode platform which is easy to use?)
Rotary array problem: how to realize the array "overall reverse, internal orderly"?"Three-step conversion method" wonderful array
A simple JVM tuning, learn to write it on your resume
FTP错误代码列表
App基本框架搭建丨日志管理 - KLog
元素的BFC属性
21 Day Learning Challenge Week 1 Summary
按摩椅控制板的开发让按摩椅变得简约智能
互换性与测量技术-公差原则与选用方法
"Life Is Like First Seen" is ill-fated, full of characters, and the contrast of Zhu Yawen's characters is too surprising
高度塌陷问题的解决办法
CSDN blog replacement skin
The solution to the height collapse problem
Window function application of sum and count
Goodbye Guangzhou paper invoices!The issuance of electronic invoices for accommodation fees will completely replace the invoices of hotels, restaurants and gas stations
DOM-DOM tree, a DOM tree has three types of nodes