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

p2p: Exchange should have built-in single flight protection #154

Open
Wondertan opened this issue Jan 31, 2024 · 1 comment
Open

p2p: Exchange should have built-in single flight protection #154

Wondertan opened this issue Jan 31, 2024 · 1 comment

Comments

@Wondertan
Copy link
Member

Currently, if two clients request the same headers, the exchange will end up duplicating requests for headers. We should avoid this with single-flight protection on the Exchange level. We should also consider doing that on a higher Service level once we introduce the Service here

@renaynay
Copy link
Member

Additionally, this should replace the single flight protection from syncer that performs the same function.

@renaynay renaynay changed the title p2p: Exachange should have built-in single flight protection p2p: Exchange should have built-in single flight protection Oct 30, 2024
IliaBulavintsev pushed a commit to IliaBulavintsev/go-header that referenced this issue Nov 6, 2024
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

No branches or pull requests

2 participants