ipfs/kubo

Push CID to DHT when publishing a name

Open

#7,487 创建于 2020年6月17日

在 GitHub 查看
 (4 评论) (1 反应) (0 负责人)Go (2,725 fork)batch import
P2effort/hoursexp/intermediatehelp wantedkind/enhancementstatus/ready

仓库指标

Star
 (13,906 star)
PR 合并指标
 (平均合并 4天 2小时) (30 天内合并 28 个 PR)

描述

I investigated a bit a performance issue - where it takes quite a long time before data behind an IPNS record can be resolved via the DHT.

It seems that the newly added content is too large, so there's a large backlog of newly added pins and MFS data on the node, that it is able to push the CID for the name record in a reasonable amount of time.

A dedicated ipfs dht provide <CID> before running ipfs name publish --key=<keyID> <CID> solved this issue for me.

So there seems to be an improvement opportunity:

If the CID which should be published as a name record is still somewhere on the queue for sending it to the DHT as provider IPFS could give this CID priority, that it will be the next CID to be published. This way ipfs makes rue that the new name record will be resolvable via DHT.

贡献者指南