what is the Vertical and Horizontal distribution?

独自空忆成欢 提交于 2019-12-10 03:05:28

问题


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


回答1:


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.




回答2:


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



回答3:


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.



来源:https://stackoverflow.com/questions/5845459/what-is-the-vertical-and-horizontal-distribution

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!