简体   繁体   中英

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?

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..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM