Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

So what's the difference between distributed and clustered?

I've heard these two terms quite many times,

but always confused.

My guess:

  1. for distributed servers,each server has its own unique data to serve
  2. for clustered servers,each server is supposed to have the same data given enough time to synchronize

Is that the difference?

like image 450
user198729 Avatar asked Apr 16 '10 13:04

user198729


People also ask

What is an example of a distributed system?

Telephone and cellular networks are also examples of distributed networks. Telephone networks have been around for over a century and it started as an early example of a peer to peer network.

What is meant by clustered system?

Cluster systems are created when two or more computer systems are merged. Basically, they have an independent computer but have common storage and the systems work together. The components of clusters are usually connected using fast area networks, with each node running its own instance of an operating system.

What is meant distributed system?

A distributed system is a computing environment in which various components are spread across multiple computers (or other computing devices) on a network. These devices split up the work, coordinating their efforts to complete the job more efficiently than if a single device had been responsible for the task.


1 Answers

I think the terms themselves might get misused and semantically have overlap, but from my experience, a distributed system is one where all the machines talk to eachother; a cluster is where the machines may be indepedent (but not always).

Take for example a MMORPG. The most complex and highest end architectures are distributed in a way, that the guy standing next to you and that you are talking to, is actually connected to a different physical server. It works by having each 'simulation server' talking to different services (like a 'chat' service, a 'trade item' service,..) via a service bus. This is what is considered distributed architecture - the machines are working togeather to accomplish the same goal

Conversely, clustered servers might do their own, distinct set of work completely independent of other machines in the cluster. Look at the SETI project for example... or even a simple ASP.NET load balanced cluster... In both cases, these clusters are doing their own independent set of work and not communicating with eachother - they are just serving up different jobs (SETI) or pages (ASP.NET) to their clients..

like image 132
dferraro Avatar answered Oct 20 '22 20:10

dferraro