Feature: Thread-safe `ProofBuilder`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- go
- 领域
- backend, performance
调研方向
Start at client/client.go lines 186-195 and trace how ProofBuilder instances fetch tiles and perform hashing. Determine the concurrency and shared-work requirements from the existing proof-building path. Done means proofs can be generated concurrently with a thread-safe ProofBuilder while avoiding repeated tile fetching and hashing for merged entries.
由索引模型根据 Issue 内容生成。
描述
Description
The current ProofBuilder is not thread-safe. There is a demand from personality applications to build the proof after the entries have merged into the tree. If there are 500 entries being merged in a batch, the application will then create 500 ProofBuilders fetching the same tiles from the storage and doing the hashing works again and again. This becomes the performance bottleneck which slows down the write QPS.
A thread-safe ProofBuilder is needed to generate the proofs concurrently and effectively.
- 主要语言
- Go
- 星标
- 262
- 派生
- 64
- 平均合并
- 1 天 6 小时
- 30 天内合并 PR
- 20
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
transparency-dev/tessera 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
transparency-dev/tessera#1286 ·
维护者通常 1 天内回复
-
TestPosixMirrorIntegration fails on macOS: its burst of connections overflows the listen queue可能已有人在做 @grempe 于 31 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 77/100
transparency-dev/tessera#1253 ·
维护者通常 1 天内回复
-
Fix tlog-mirror log origin length prefix可能已有人在做 @phbnf 于 32 天前认领。 未关闭enhancement
难度 2/5 1-3 小时 新手友好度 65/100
transparency-dev/tessera#1233 · 1 条评论 ·
维护者通常 1 天内回复
-
AWS: adds fail while object-storage writes are slow (integration's gap lock on Seq)可能已有人在做 @grempe 于 30 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
transparency-dev/tessera#1256 ·
维护者通常 1 天内回复
-
AWS: MySQL pools are never closed, so reopening a log in one process leaks goroutines and connections可能已有人在做 @grempe 于 13 天前认领。 未关闭
难度 4/5 1-2 天 新手友好度 48/100
transparency-dev/tessera#1251 · 1 条评论 ·
维护者通常 1 天内回复
查看 transparency-dev/tessera 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
peterstace/simplefeatures#726 ·
-
area: import bug go good first issue priority: low
难度 2/5 1-3 小时 新手友好度 78/100
fukubie/StockLlama#69 ·
-
enhancement help wanted
难度 2/5 1-3 小时 新手友好度 82/100
cloverworks-hq/rumpty-cli#95 ·
维护者通常 1 天内回复
-
good first issue
难度 1/5 1 小时以内 新手友好度 88/100
pulseaiclub/phi#615 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复