V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
lavvrence
V2EX  ›  服务器

40 万注册用户,大概需要什么样的服务器?

  •  
  •   lavvrence · Jan 28, 2020 · 6090 views
    This topic created in 2286 days ago, the information mentioned may be changed or developed.

    如果仅用一台 8 核心的 32 GB 的 CentOS (阿里云 ECS )够吗?(数据库、缓存、消息队列另外配置)

    5 replies    2020-03-08 02:09:43 +08:00
    airyland
        1
    airyland  
       Jan 28, 2020   ❤️ 1
    我觉得浪费了。这个总用户量并发应该也不高,加上你数据库什么的都是另外配置。
    davidyin
        2
    davidyin  
       Jan 29, 2020
    看同时在线人数吧
    lavvrence
        3
    lavvrence  
    OP
       Jan 30, 2020
    @davidyin 最高同时在线有两万多,每秒 500 多次接口请求。
    baoshu
        4
    baoshu  
       Feb 1, 2020 via iPhone
    问题不大,数据库可以用 rds
    hangyu
        5
    hangyu  
       Mar 8, 2020
    我认为不要脱离业务问这个问题吧。

    如果业务只是简单的商品列表,商品详情页,在数据库查询优化得很好,充分使用缓存的情况下,也许一台 8 核应用服务器够了。

    但如果涉及到复杂的逻辑运算,也许很耗 cpu 的。

    另外,也不应该脱离数据量的大小,每个环节的速度,最终都影响每秒 500 多次请求需要多少资源。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1256 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 17:05 · PVG 01:05 · LAX 10:05 · JFK 13:05
    ♥ Do have faith in what you're doing.