大家知道nginx用做负载均衡对硬件配置怎么要求?

WBOY
Release: 2016-06-06 20:08:12
Original
2032 people have browsed it

要采购一台服务器安装nginx做负载均衡,假设最高并发在1000次/s,该服务器的CPU和内存配置需要多少?是如何换算的。

回复内容:

要采购一台服务器安装nginx做负载均衡,假设最高并发在1000次/s,该服务器的CPU和内存配置需要多少?是如何换算的。

有一个关键因素,有多少的SSL连接?
不需要SSL的话,你这个连接量单核的CPU+1G内存在Linux环境下足够有余了。

需要SSL的话增加CPU和内存的配置。(差不多2核+4G就稳稳的了)

(以上根据HAPROXY算的)
参见:https://haproxy.com/doc/hapee/1.5/introduction.html

我知道你问的是Nginx, HAPROXY因为功能多一些,一向比Nginx费处理性能。
所以Nginx的配置要求比上面提到的还相对低一点点。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!