Feiox

Elasticsearch 在高数据量低负载的情况下,应该使用什么配置最具性价比

  •  
  •   Feiox · Apr 25, 2015 · 10482 views
    This topic created in 4056 days ago, the information mentioned may be changed or developed.

    先附:这里说高,是指的对于我们应用来说,学生党能省则省

    数据量在 10GB,查询访问峰值低于 10 QPS,查询速度最好低于 100ms,系统负载应低于 3

    现在需要单独购买一个阿里云服务器示例,用来跑 Elasticsearch, 用什么配置最合适?
    1 核心 1GB 内存 20GB 数据盘可以吗?

    12 replies    2019-05-19 17:30:09 +08:00
    msg7086
        1
    msg7086  
       Apr 25, 2015
    能省则省的话不是应该挑国外便宜的主机吗
    armstrong
        2
    armstrong  
       Apr 25, 2015
    ES官方推荐的最佳配置是64GB,http://www.elastic.co/guide/en/elasticsearch/guide/current/hardware.html
    A machine with 64 GB of RAM is the ideal sweet spot, but 32 GB and 16 GB machines are also common. Less than 8 GB tends to be counterproductive (you end up needing many, many small machines), and greater than 64 GB has problems that we will discuss in Heap: Sizing and Swapping.
    9hills
        3
    9hills  
       Apr 25, 2015 via iPhone
    一直用128G的机器跑Es
    Landarky
        4
    Landarky  
       Apr 25, 2015
    用48G跑ES表示鸭梨很大
    Feiox
        5
    Feiox  
    OP
       Apr 25, 2015
    @armstrong 那是不是在小内存中跑 ES 就会变慢、或者不稳定呢?
    knktc
        6
    knktc  
       Apr 25, 2015
    @Feiox 会变慢~
    hebwjb
        7
    hebwjb  
       Apr 25, 2015
    ES毕竟是基于JVM之上的,1G内存有点捉急吧
    9hills
        9
    9hills  
       Apr 26, 2015
    @Feiox 48G内存跑ES,默认参数还会OOM,<_<
    Feiox
        10
    Feiox  
    OP
       Apr 26, 2015
    @9hills @hebwjb 好吧,这货属于土豪和公司玩的,我们这小作坊。。。。。。
    wgqzlj
        11
    wgqzlj  
       Apr 26, 2015
    SSD是必不可少的,效率提升极大
    ddup
        12
    ddup  
       May 19, 2019
    jvm 程序真是很吃内存
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5857 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 55ms · UTC 01:49 · PVG 09:49 · LAX 18:49 · JFK 21:49
    ♥ Do have faith in what you're doing.