Replies: 2 comments
-
Hi, and thanks for your interest! @oblique have you experienced anything similar? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Although may not be relevant, but have you tried configuring other portions of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a use case which requires sending messages around with very high throughput. With a small number of messages this causes no problems, but as soon as this number exceeds around 200, I start to have consistent
OutboundFailure
errors. Even if I attempt to keep track of pending messages and attempt resends onOutboundFailure
, this doesn't seem to fix the issue. Everything I run is on localhost.The actual instantiation of the swarm is the following:
And a sample error may look something like this:
OutboundFailure: Peer: PeerId("12D3KooWHnHFfSNd9V1egU5hJKbJtAeaNgMmDWDxFkiQcjXyMqER") | RequestId: OutboundRequestId(106) | Error: Io(Custom { kind: ConnectionReset, error: Stopped(0) })
.Even when these errors don't appear, the swarm only seems to be able to process a small number of messages before it pauses, seemingly doing nothing. I've played around with some of the buffer sizes in the swarm config but no luck.
The repo is unfortunately private, but I've been able to reproduce a similar behavior on a fork of a public repo here: https://github.com/n-lebel/poc-rust-libp2p-kademlia
Any pointers appreciated!
Beta Was this translation helpful? Give feedback.
All reactions