Study to compare t-Digest and REQ sketch

未关闭
#416 13 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
cpp
领域
data, performance

调研方向

未指定任何文件、测试或基准测试入口点。定位 t-Digest 和 REQ 的实现,以及任何现有的性能测试框架,然后比较在所述输入类型下 HRA/LRA 和默认缩放的行为;完成的标准是得到一份包含已记录结果的可复现比较。

由索引模型根据 Issue 内容生成。

描述

Compare the performance of t-Digest with the closest competitor in the library, REQ sketch.
REQ sketch is the closest competitor because it prioritizes high rank accuracy (HRA mode) or low rank accuracy (LRA mode), unlike other quantile sketches (KLL, classic) with the same rank error for any rank.
There are a few obvious differences:

  • REQ sketch can work with any data type with a comparator, t-Digest is limited to numeric data (floating-point types)
  • REQ sketch retains and returns values observed in the input only - no notion of distance (only less than comparison), no interpolation. t-Digest is based on computing means and does interpolation.
  • t-Digest prioritizes both high rank and low rank accuracy at the same time with the default scaling function. Perhaps this can be changed with different scaling functions.
主要语言
C++
星标
273
派生
88
平均合并
1 天 19 小时
30 天内合并 PR
9

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/datasketches-cpp 的其他 Issue

查看 apache/datasketches-cpp 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。