Forwarding settings for Nginx server
Under the .net platform, there are two ways of load balancing that I have deployed so far (iis7 and Nginx). The following uses Nginx as an example to explain the load balancing of the web layer. The first part WEB layer load balancing Introduction: Nginx surpasses Apache’s high performance and stability, making Nginx used as a Web server in China There are also more and more websites on the server, including Sina Blog, Sina Podcast, Netease News and other portal channels, Liujianfang, 56.com, etc., video sharing websites, Discuz! Official Forum, Shuimushe District and other well-known forums, emerging Web 2.0 websites such as Douban, YUPOO photo album, domestic SNS, and Thunder Online. It is said that Nginx can withstand 30,000 concurrent connections. This point has not been tested. In short, Nginx is famous for its high concurrency. Nginx is also a good choice for front-end load balancing, and it has nothing to do with the specific language. The following is how Nginx distributes to IIS Simple process: user visits website (server C) -> server C (no IIS required) Nginx distributes requests to ->A or B or more servers (specific IIS servers) to achieve front-end load The configuration is very simple, as…