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

Fix Message Loss with ZMQ #9

Open
rishi-s8 opened this issue Sep 6, 2023 · 1 comment
Open

Fix Message Loss with ZMQ #9

rishi-s8 opened this issue Sep 6, 2023 · 1 comment

Comments

@rishi-s8
Copy link
Contributor

rishi-s8 commented Sep 6, 2023

With large number of nodes on a single machine, i.e. a lot of sockets, some messages are dropped by ZMQ. Investigate why and exactly in what scenario this happens.
TCP_ACK introduces application-level retransmissions to get around this problem, but with TCP, messages should be ordered first-in-first-out. Hence, investigate by stress-testing it, if still has the same problems as the basic version. If not, describe why.

@rishi-s8
Copy link
Contributor Author

rishi-s8 commented Apr 2, 2024

Investigated this, looks like a memory issue. We can set configs in ZMQ to never drop messages, but it only works when enough DRAM and/or Swap is available.

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