nats.py performance with high subscription creation rate #523
Replies: 2 comments
-
I should add that each python server uses one nats connection |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am pretty sure now that our bottleneck is not with NATS, so closing this |
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
-
We have a python/tornado server that creates 2 nats subscriptions per client connection. The clients are web based so they reconnect every few minutes as the browser navigates. Our load tests show the performance degrades with large numbers of connections. It's not clear yet where the bottleneck is - no obvious CPU or memory limit reached in the python servers or NATS nodes.
When running the load test we end up with about 30 subscriptions per second getting created in each python server instance. There is very little message traffic on the subscriptions - maybe 100 bytes each.
Is there any reason to believe this should or should not work?
In nats.py are there any tuning parameters similar to SubscriberDeliveryTaskCount for .NET?
Beta Was this translation helpful? Give feedback.
All reactions