Feiox

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

  •  
  •   Feiox · Apr 25, 2015 · 13604 views
    This topic created in 4231 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
    msg7086
    Apr 25, 2015
    1
    能省则省的话不是应该挑国外便宜的主机吗
    armstrong
    armstrong
    Apr 25, 2015
    2
    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
    9hills
    Apr 25, 2015 via iPhone
    3
    一直用128G的机器跑Es
    Landarky
    Landarky
    Apr 25, 2015
    4
    用48G跑ES表示鸭梨很大
    Feiox
    Feiox
    OP
    Apr 25, 2015
    5
    @armstrong 那是不是在小内存中跑 ES 就会变慢、或者不稳定呢?
    knktc
    knktc
    Apr 25, 2015
    6
    @Feiox 会变慢~
    hebwjb
    hebwjb
    Apr 25, 2015
    7
    ES毕竟是基于JVM之上的,1G内存有点捉急吧
    9hills
    9hills
    Apr 26, 2015
    9
    @Feiox 48G内存跑ES,默认参数还会OOM,<_<
    Feiox
    Feiox
    OP
    Apr 26, 2015
    10
    @9hills @hebwjb 好吧,这货属于土豪和公司玩的,我们这小作坊。。。。。。
    wgqzlj
    wgqzlj
    Apr 26, 2015
    11
    SSD是必不可少的,效率提升极大
    ddup
    ddup
    May 19, 2019
    12
    jvm 程序真是很吃内存
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2507 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 12:26 · PVG 20:26 · LAX 04:26 · JFK 07:26
    ♥ Do have faith in what you're doing.