High concurrency, high availability

 

High concurrency

Improve system concurrency There are two main ways:

  • Vertical expansion (Scale Up)

  • Horizontal expansion (Scale Out)

 

The former stand-alone vertical expansion can enhance the performance of the hardware, or stand-alone framework to enhance performance, improve concurrency, but there is always a stand-alone performance limits, Internet distributed architecture design of high concurrency ultimate solution or the latter: horizontal expansion.

 

Internet layered architecture, the horizontal expansion at all levels of practice will also be different:

(1) Reverse proxy layer may be horizontally by "the DNS polling" approach;

(2) the site level may be horizontally by Nginx;

(3) the service layer may extend horizontally through the service connection pool;

(4) database can be extended in accordance with the data level range, or the data hash manner;

 

High Availability

Improve system concurrency There are two main ways:

  • Vertical expansion (Scale Up)

  • Horizontal expansion (Scale Out)

The former stand-alone vertical expansion can enhance the performance of the hardware, or stand-alone framework to enhance performance, improve concurrency, but there is always a stand-alone performance limits, Internet distributed architecture design of high concurrency ultimate solution or the latter: horizontal expansion.

Internet layered architecture, the horizontal expansion at all levels of practice will also be different:

(1) Reverse proxy layer may be horizontally by "the DNS polling" approach;

(2) the site level may be horizontally by Nginx;

(3) the service layer may extend horizontally through the service connection pool;

(4) database can be extended in accordance with the data level range, or the data hash manner;

 

ref

https://mp.weixin.qq.com/s/p0LsxT-JUS7zYg23M7nupQ

https://mp.weixin.qq.com/s/bEkd2lcuK59Gpncuvyj1Ww

Guess you like

Origin www.cnblogs.com/huilei/p/11103798.html