Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
Actrace
V2EX  ›  Linux

NGINX:Socket Sharding 2-3 倍的性能提升

  •  
  •   Actrace · May 28, 2015 · 3499 views
    This topic created in 4181 days ago, the information mentioned may be changed or developed.
    Socket Sharding in NGINX Release 1.9.1
    http://nginx.com/blog/socket-sharding-nginx-release-1-9-1/
    7 replies  •  2015-05-28 11:12:37 +08:00
    300
    300
    May 28, 2015 via Android
    1
    已经更新,虽然不会玩
    Actrace
    Actrace
    OP
    May 28, 2015
    2
    @winterbells 在http段加个reuseport参数就可以了,不过毕竟不是稳定版, 还不敢上.
    bilok
    bilok
    May 28, 2015 via iPhone
    3
    没记错的话好像 V2EX 的 NGINX 一直是跟着streamline的 稳定性应该不会太差吧
    Daemon
    Daemon
    May 28, 2015
    4
    可以试一试
    DjvuLee
    DjvuLee
    May 28, 2015
    5
    这个新功能需要kernel3.9。不过其实这种需求早就应该有了,不知道为什么kernel3.9才引入。
    ewex
    ewex
    May 28, 2015
    6
    yuankui
    yuankui
    May 28, 2015
    7
    allows multiple sockets to listen on the same IP address and port combination. The kernel then load balances incoming connections across the sockets, effectively sharding the socket.

    看描述说这几个worker完全是同构系统,不能成为sharding吧,只能叫做replica吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1685 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:25 · PVG 19:25 · LAX 03:25 · JFK 06:25
    ♥ Do have faith in what you're doing.