ipfs / ipfs/kubo

Push CID to DHT when publishing a name

Open
#7,487 4 comments 1 reaction 0 assignees View on GitHub
effort/hours exp/intermediate help wanted kind/enhancement P2 status/ready
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

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 ` before running `ipfs name publish --key= ` 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.