Linux / Nginx 高并发场景性能调优

实战单机50万Tcp连接

Server端

  • nofile
  • iptables 关掉
  • Nginx http1.1 keep alive 1000 least_conn

Client端

  • ip_local_port_range

 

Leave a Reply

Your email address will not be published.