Windows+nginx Load Test

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.