-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Abnormal bandwidth usage of nats cluster service [v2.10.22 || v2.10.23] #6238
Comments
Is the topology 12 servers clustered together with routes over different regions? Do you see any readloop processing errors or Slow Consumer errors in the logs? Have you tried modifying the |
Can a nats cluster specify a machine as a cluster? |
max_outstanding_catchup defaults to 32mb |
it might be helpful to share the output of |
One way this could happen is if many consumers tried to issue an uncapped Fetch with a large batch size not using MaxBytes when consuming the messages from the streams |
Observed behavior
I used AWS servers, using servers in different countries. There were servers in four countries in total, three servers in each country, and a total of 12 servers to build the nats cluster.The number of copies is 3, the message volume is not large, but the bandwidth usage is abnormal.
Expected behavior
There are more than thirty streams in total, and there are about twenty consumers every month. If twelve clusters are used as a cluster, the upstream and downstream bandwidth should not be so high.
Server and client version
Using the latest nats-server version
Host environment
No response
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: