• 请不要在回答技术问题时复制粘贴 AI 生成的内容
shoumu
V2EX  ›  程序员

大数据量下基于 ES 的统计分析怎么做?

  •  
  •   shoumu ·
    shoumu · Jun 2, 2016 · 10363 views
    This topic created in 3826 days ago, the information mentioned may be changed or developed.

    有下面的一个需求,请问一下大家有什么好的方案? 现在有亿级别的新闻文本数据,每条文本有超过二十个的属性(比如新闻正文、译文、时间、国家、地点等),已经使用 es 对这些数据建了索引。

    现在要根据提供的关键词进行检索,对检索到的前 N 条( N 可能为 2000 、 5000 、 10000 、 100000 等)数据进行分析,主要是针对各个属性进行统计,比如统计各个国家的新闻数量。

    目前是直接通过 es 拿到结果做统计,但是非常慢,有什么好的方案吗?

    7 replies  •  2016-06-03 20:17:56 +08:00
    ligyxy
    ligyxy
    Jun 2, 2016 via Android
    1
    Spark cluster
    Numbcoder
    Numbcoder
    Jun 2, 2016
    2
    试试这个 druid.io
    fcicq
    fcicq
    Jun 2, 2016
    3
    带宽和 IOPS 就是单机水平那就不可能指望有突破啊.
    shoumu
    shoumu
    OP
    Jun 3, 2016
    4
    @fcicq
    带宽和 IOPS 都好说,这里想先看看有啥好的方案
    shoumu
    shoumu
    OP
    Jun 3, 2016
    5
    @ligyxy
    @Numbcoder
    谢谢两位,我先去看看
    SmiteChow
    SmiteChow
    Jun 3, 2016
    6
    我觉得你的 ES 部署方式有问题,是分布式的么?
    shoumu
    shoumu
    OP
    Jun 3, 2016
    7
    @SmiteChow
    是分布式的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4075 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 09:38 · PVG 17:38 · LAX 01:38 · JFK 04:38
    ♥ Do have faith in what you're doing.