当前位置:网站首页>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.
边栏推荐
猜你喜欢
[yu gong series] Go program 035-08 2022 interfaces and inheritance and transformation and empty interface
添加用户报错useradd: cannot open /etc/passwd
JS-DOM element object
DNS separation resolution and intelligent resolution
大马驮2石粮食,中马驮1石粮食,两头小马驮一石粮食,要用100匹马,驮100石粮食,如何分配?
音视频开发,为什么要学习FFmpeg?应该怎么入手FFmpeg学习?
A Practical Arrangement of Map GIS Development Matters (Part 1)
云平台下ESB产品开发步骤说明
【Yugong Series】August 2022 Go Teaching Course 036-Type Assertion
一次简单的 JVM 调优,学会拿去写到简历里
随机推荐
什么是三方支付?
Detailed explanation of VIT source code
二叉树相关代码题【较全】C语言
怎么删除语句审计日志?
Environment configuration of ESP32 (arduino arduino2.0 VScode platform which is easy to use?)
AI+Medical: Using Neural Networks for Medical Image Recognition and Analysis
this question in js
电商项目——商城限时秒杀功能系统
typedef defines the structure array type
Docker 链接sqlserver时出现en-us is an invalid culture错误解决方案
The problem that Merge will be lost again after code Revert has been solved
[BX] and loop
App Basic Framework Construction丨Log Management - KLog
Is there any way for kingbaseES to not read the system view under sys_catalog by default?
一次简单的 JVM 调优,学会拿去写到简历里
I didn't expect MySQL to ask these...
The "top pillar" slides, and new growth is extremely difficult to shoulder the heavy responsibility. Is Ali "squatting" to jump higher?
浅析一下期货程序化交易好还是手工单好?
输入起始位置,终止位置截取链表
多串口RS485工业网关BL110