System: Windows2003
Nginx version: 1.7.3 (official recommended version)
#父节点 http
Upstream cluster_1{
Ip_hash; #能较好地把同一个客户端的多次请求分配到同一台服务器处理, avoids the need for a weighted poll for session retention
Server Host:port weight=1; #权重越高转向的请求比重越大
Server Host:port weight=1;
......
}
#父节点 Server
Local ~ $ {
Proxy_pass http://cluster_1; #可以直接使用具体地址
}
Was test:
Iis+nginx
Test page: index.htm content: Port number
Test page: t1.php content: <?php echo "$ port number Test results:
was tested when a request of 2000 per second was unstable (without nginx, request 6000 is still stable per second when requesting IIS tests directly
Official Note:
Each worker process in the Windows environment handles up to 1024 concurrent requests, even if multiple worker processes are started, and only one worker process is processing all requests (the Select notification method is the cause of the request).
Memo:
Continue to test subsequent session sessions to maintain and SSO while configuring the Linux system to test nginx concurrency bottlenecks
Doubts:
Why not use Nginx directly to request the site when Perfmon can detect the current connections, and using Nginx and then request when there is no value? Have a friend to know also please advise thank you