I have seen many such articles on the Internet. Some of them copy the same person, and some have different answers and concepts. Could you tell me the difference between them? I have seen many such articles on the Internet, some of which are the same person, and some have different answers and concepts. Could you tell me the difference between them in a simple and clear way?
Reply content:
I have seen many such articles on the Internet. Some of them copy the same person, and some have different answers and concepts. Could you tell me the difference between them in a simple and clear way?
For software systems. Distributed means that your software system can collaborate with independent parts by some means. These independent parts can be truly independent, or can be run independently, but cannot constitute a complete system, but generally refer to the latter. There are many purposes of distribution, for example, to distribute the computing pressure, or to facilitate expansion of a loose component system. There are also many distributed software system models, such as early ejbs and existing SOA that use message systems, such as rabbitMQ, which are well-known as openstack. Various big data software are distributed, such as Hadoop and spark. They all have their own distribution models to do specific things.
Web-related software is distributed, with some running in browsers and some running on servers. Generally, database systems are distributed. In fact, most modern software is already distributed, and we have been using distributed systems for a long time.
In software-related fields, the concept of cluster usually refers to a deployment method. Distributed Software generally supports cluster deployment, such as databases. Generally, clusters are used to distribute computing pressure. Clusters can be automatically scaled according to certain policies.
Reference: concept and Design of Distributed Systems
Real-name objection @ junze. It cannot be retrieved from other articles !!!
I have been reading about the concept of distributed, cluster, and load balancing in the past two days.
Sf in http://segmentfault.com/q/1010000003052403
The answer to this question is very good. Let's take a look at it.
========================================================== =
Cluster:
For Class cleaning, each student is scheduled by the teacher to clean up different places.
James wiped the blackboard, Li Si touched the table, and Wang Wu wiped the fan.
Accidentally, Wang Wu was powered to death and could not wipe the fan any more. The teacher assigned Zhao 6's top.
A student represents a host, a class is a cluster, and a teacher isServer Load balancer
Concept: A group must have a Server Load balancer.
Distributed:
The playground cleaning is divided into Class A and Class B for joint cleaning (a task is handled together ).
Both Class A and Class B are distributed processing.
Two classes, A and B, can also be allocated by teachers to different students to clean a small part.
This means that the distributed processing node can be a cluster.
Concept: each node can be distributed in different places
To put it simply, distribution improves efficiency by shortening the execution time of a single task, while the cluster improves efficiency by increasing the number of tasks executed per unit time.
For example:
If a task is composed of 10 subtasks, it takes one hour for each subtask to be executed separately, it takes 10 hours for the task to be executed on a server.
The Distributed Solution Provides 10 servers. Each server is only responsible for processing one subtask, regardless of the dependency between subtasks. It takes only one hour to complete this task. (A typical example of this working mode is Hadoop's Map/Reduce distributed computing model)
The cluster solution also provides 10 servers, each of which can handle this task independently. Assume that 10 tasks arrive at the same time, and 10 servers will work at the same time. After 10 hours, 10 tasks will be completed at the same time. In this way, you can complete a task within one hour!
We generally say that Distributed Remote calls are related to remote calls. For example, system A needs to call A service on system B, which is distributed. If the request volume of system B is large and one machine cannot process it, multiple system B needs to be deployed for processing. This is the cluster.
Personal Understanding, hope it will not mislead you.
"Distributed" is not necessarily a hardware, but a collaborative approach.
"Cluster" generally has a clear
DNS is a distributed system. We will not say that the global DNS Server is a cluster.