apache / apache/iceberg-python

Performance monitoring of manifest cache

未关闭
#3,266 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1.1k
派生
581
平均合并
1 天 17 小时
30 天内合并 PR
78

描述

### Feature Request / Improvement

## Description
As discussed in #2993, it would be nice to have a function call similar to `cache_info()` to get information about cache hits and misses

## References
[`cachetools` implements a 2 counter to achieve this](https://github.com/tkem/cachetools/blob/5dce86fc5c9c565c6e9c912e2be5d6abb9586a1d/src/cachetools/_cached.py#L17)

贡献指南

这个仓库没有索引到贡献指南

调研方向

先阅读 issue #2993 和其中引用的 cachetools _cached.py 实现,然后定位 PyIceberg 的 manifest-cache 入口点以及任何现有的类似 cache_info() 的 API。完成的标准是 manifest cache 通过函数调用提供有用的命中和未命中信息,并且其行为与商定的设计一致。

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

评估

技术栈
python
领域
performance
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
45/100

把新 issue 发到你的邮箱

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