What is vertical and horizontal distribution?

  • Vertical distribution : Distributed processing is equivalent to organizing a client-server application as a layered architecture. Place logically different components on different machines.
  • Horizontal distribution : Distribution of clients and servers is more common in modern architectures. The client or server can be physically divided into logically equivalent parts, but each part runs on its own complete set of data, thus balancing the load.

I was trying to understand what is different between vertical and horizontal? what is the meaning of "logically" and "physically"? ... but I can not! somebody knows..??

+6
source share
2 answers

AFAIK

horizontal - you add more cars. These machines equally mean that they play a similar role. For example, you have a Node server that processes all requests. You install it on three cars. All these machines do the same. When the load is high, you add another machine with the Node server.

vertical - You get the best machines for handling loads. Also, machines play different roles - for example, you have an authentication server on one computer and a Node server on another.

+5
source

From a guide to solving Distributed Systems: Principles and Paradigms (Tanenbaum, van Steen):

  • Vertical distribution refers to the distribution of different levels in a tiered architecture on multiple machines.
  • Horizontal distribution is associated with the distribution of one level on several machines, for example, with the distribution of a single database.

Examples of layers can be:

  • User interface
  • Application
  • Database
+7
source

Source: https://habr.com/ru/post/887034/


All Articles