Giter Club home page Giter Club logo

cube-core's People

Contributors

observedobserver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cube-core's Issues

连续型维度性能较低

连续型维度下,维度成员重复率低,hash更消耗性能,建议对连续型维度的场景改为线段树聚合。

度量不做预计算 + 计算缓存 + 节点lazy更新

  • 度量计算不再默认使用aggTree来全量完成,只在查询时去做计算。这本质上是因为我们兼容了Holistic度量使得实际在做聚合计算时并没有复用子节点的聚合结果,只是复用了子节点的分组索引。所以当前节点的聚合计算是独立于其他节点,不存在依赖关系的。我们只需要根据查询需求进行计算即可。
  • 查询后节点的聚合值被缓存,缓存计算结果和计算信息(聚合函数,用以判断下次聚合是否需要重算)。
  • 新插入节点等操作使用lazy更新。这是由于本次重构不再做全量度量聚合计算,导致momentCube本质上变为了与periodCube更为相近的结构。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.