Peers should cache provider information to spread it around the network.
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
调研方向
首先跟踪 FindProviders 流程,以及 peer 发现内容 provider 的位置。比较发现后的缓存记录与接收到 block 时在终端服务中记录源 peer 的做法,然后定义如何保留 provider 的过期时间。完成标准是:热门 provider 的记录能够被分发而不会永久存在,并且下载可以在重启后继续。
由索引模型根据 Issue 内容生成。
描述
After finding new providers for a piece of content, peers should store those providers locally. This:
- Speeds up future (initial) find provider queries for the same thing.
- Distributes frequently requested provider records around the network.
However, I'm a bit concerned about provider record expiration given a FindProviders call won't actually return when the provider record was initially submitted. This means that popular provider records would live forever.
One solution is to do this (record that some peer provides some content/service) inside the end service itself. For example, when we get a block from a peer, we could locally record a provider record for the peer from which we got the block. This would, incidentally, help us resume downloading a file if we restart.
- 主要语言
- 没有语言数据
- 星标
- 38
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
libp2p/notes 的其他 Issue
-
难度 5/5 一周以上 新手友好度 20/100
-
难度 5/5 一周以上 新手友好度 20/100
-
DHT
难度 5/5 一周以上 新手友好度 25/100
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
-
难度 5/5 一周以上 新手友好度 20/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 68/100
eschnett/mpi_abi_wrapper#17 ·
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
vllm-project/vllm#59268 ·
维护者通常 1 天内回复
-
status:in-linear status:team-assigned team:cats
难度 2/5 1-3 小时 新手友好度 90/100
维护者通常 1 天内回复
-
kind/feature
难度 2/5 1-3 小时 新手友好度 68/100
kubernetes-sigs/kubespray#13595 ·
维护者通常 1 天内回复