Open nenych opened 1 month ago
Server 2.9.20 is now quite a while out of date, let us know how latest 2.10 works for you.
Below you can see the same test with the NATS 2.10.14, with this version we have even worse results:
Any updates here? We have the same issue on our cluster. Thanks
Observed behavior
Performance degradation after the slow consumer connection. As you can see below, we are observing about 30% degradation of the incoming messages when the slow consumer connected, and about 50% after the second one.
Expected behavior
Stop sending messages to the slow consumers until their buffers are empty without slowing down the server.
Server and client version
Server: 2.9.20 Python library: nats-py 2.7.2
Host environment
Local: MacOS 14.4.1, arm64, Docker 26.0.0 The same behavior with the amd64 emulator (--platform=linux/amd64 flag).
GKE Container-Optimized OS, amd64, containerd
Steps to reproduce
Prepared required configs and docker-compose file that will start NATS, Prometheus, an exporter, and two consumers: https://github.com/nenych/nats-test.
Steps to run
Explore metrics