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

Limit calls to Topic.Publish when libp2p pubsub buffers are full #62

Open
lthibault opened this issue Nov 16, 2022 · 0 comments
Open

Limit calls to Topic.Publish when libp2p pubsub buffers are full #62

lthibault opened this issue Nov 16, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@lthibault
Copy link
Collaborator

We're currently observing a fair number of undeliverable messages when using the pubsub capability. At a glance, it seems like we should be able to combine libp2p's pubsub.Tracer interface and a semaphore.Weighted to block Publish calls when the receiver's queue is full.

@lthibault lthibault added the enhancement New feature or request label Nov 16, 2022
@lthibault lthibault added this to the 0.1.0 Public Beta Release milestone Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant