V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Feiox
V2EX  ›  Elasticsearch

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

  •  
  •   Feiox · 2015 年 4 月 25 日 · 7876 次点击
    这是一个创建于 3919 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

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

    12 条回复    2019-05-19 17:30:09 +08:00
    msg7086
        1
    msg7086  
       2015 年 4 月 25 日
    能省则省的话不是应该挑国外便宜的主机吗
    armstrong
        2
    armstrong  
       2015 年 4 月 25 日
    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  
       2015 年 4 月 25 日 via iPhone
    一直用128G的机器跑Es
    Landarky
        4
    Landarky  
       2015 年 4 月 25 日
    用48G跑ES表示鸭梨很大
    Feiox
        5
    Feiox  
    OP
       2015 年 4 月 25 日
    @armstrong 那是不是在小内存中跑 ES 就会变慢、或者不稳定呢?
    knktc
        6
    knktc  
       2015 年 4 月 25 日
    @Feiox 会变慢~
    hebwjb
        7
    hebwjb  
       2015 年 4 月 25 日
    ES毕竟是基于JVM之上的,1G内存有点捉急吧
    9hills
        9
    9hills  
       2015 年 4 月 26 日
    @Feiox 48G内存跑ES,默认参数还会OOM,<_<
    Feiox
        10
    Feiox  
    OP
       2015 年 4 月 26 日
    @9hills @hebwjb 好吧,这货属于土豪和公司玩的,我们这小作坊。。。。。。
    wgqzlj
        11
    wgqzlj  
       2015 年 4 月 26 日
    SSD是必不可少的,效率提升极大
    ddup
        12
    ddup  
       2019 年 5 月 19 日
    jvm 程序真是很吃内存
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2307 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 00:34 · PVG 08:34 · LAX 16:34 · JFK 19:34
    ♥ Do have faith in what you're doing.