Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: stop synchronizing interests #632

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Conversation

nathanielc
Copy link
Collaborator

With this change the interests ring is no longer synchronized between peers. A local node will still use the interest-svc to know its own interests and the beginning of each Recon conversation negotiates shared interests. Therefore it is no longer necessary to synchronize interests.

In the future we may decide that we want to use Recon to sync interests instead of a linear sharing of interests before each conversation, however that is only a performance optimization that is not important at this stage.

Fixes #610
Fixes #611

With this change the interests ring is no longer synchronized between
peers. A local node will still use the interest-svc to know its own
interests and the beginning of each Recon conversation negotiates shared
interests. Therefore it is no longer necessary to synchronize interests.

In the future we may decide that we want to use Recon to sync interests
instead of a linear sharing of interests before each conversation,
however that is only a performance optimization that is not important at
this stage.

Fixes #610
Fixes #611
@nathanielc nathanielc requested review from a team and stbrody as code owners December 10, 2024 16:56
@nathanielc nathanielc requested review from sam701 and dav1do and removed request for a team December 10, 2024 16:56
@nathanielc nathanielc added this pull request to the merge queue Dec 11, 2024
Merged via the queue into main with commit 5a0533d Dec 11, 2024
5 checks passed
@nathanielc nathanielc deleted the feat/stop-syncing-interest branch December 11, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop synchronizing interests Synchronize interests with peers pairwise
2 participants