what is the Vertical and Horizontal distribution?

2019-04-23 10:59发布

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

i tried to understand what the different between the vertical and horizontal ? what's the meaning of "logically" and "physically" ?...but i can't !! anybody know .. ??

3条回答
何必那么认真
2楼-- · 2019-04-23 11:49

Very Simple -

  • Vertical : buy a high end machine to handle more load
  • Horizontal : buy couple more machines to handle more load

You with high probability would start with vertical since its simple to get started. Once load on your system reaches a threshold you would land on horizontal to make your architecture more scalable.

查看更多
\"骚年 ilove
3楼-- · 2019-04-23 11:53

From the solution manual of Distributed Systems: Principles and Paradigms (Tanenbaum, van Steen):

  • Vertical distribution refers to the distribution of the different layers in a multitiered architecture across multiple machines.
  • Horizontal distribution deals with the distribution of a single layer across multiple machines, such as distributing a single database.

Examples of layers could be:

  • User Interface
  • Application
  • Database
查看更多
男人必须洒脱
4楼-- · 2019-04-23 12:02

AFAIK

horizontal - You add more machines. These machines are equal meaning that they play similar role. For example you have Node server that handles all requests. You install it on three machines. All these machines do the same thing. When the load is high you add another machine with Node server.

vertical - You get better machines to handle the load. Also machines play different roles - for example you have Authentication server on one machine and Node server on the other.

查看更多
登录 后发表回答