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

Single receive buffer limit for many connected peers for ZMQ connections #505

Open
rbx opened this issue Apr 26, 2024 · 0 comments
Open

Comments

@rbx
Copy link
Member

rbx commented Apr 26, 2024

Alice has a use case where many peers (700) send significant amount of data (50MB per message) to a single peer, overloading the receiver. This cannot be controlled with ZMQ queue sizes, since the configurable limits are per peer. Neither can this be controlled reliably after the ZMQ transfer, since it may well happen that many senders transfer at the same and the desired limit is broken before even single message is fully built.

Investigate and implement a solution which would allow setting such a limit for all peers - custom socket type or custom transport implementation which can talk to zmq peers and receive & build messages, while accounting for the single limit for all senders.

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

1 participant