Usage of the client library under high loads #302
-
Hi guys, I'm working on a project using this library and I'm getting some some strange behaviour with the client under high loads. I.E. when the program sends many messages asynchronously, not all of them are sent. Client is configured this way right now:
Any help with this is appreciated, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @cregonat, Which version are you using? If you have migrated from the 3.x to 4.0 library make sure that you are awaiting the methods. The 4.0 library makes more use of the async/await pattern. The client is currently used under high load and have been so for a long time, both 4.0 and the older versions, and we have not experienced such problems. Looking at your configuration, the MaxFactories is not recommended to be above 1. It sets up several AMQP Connections and even with our load we do not need more than 1 AMQP Connection. |
Beta Was this translation helpful? Give feedback.
Hey @cregonat,
Which version are you using? If you have migrated from the 3.x to 4.0 library make sure that you are awaiting the methods. The 4.0 library makes more use of the async/await pattern.
The client is currently used under high load and have been so for a long time, both 4.0 and the older versions, and we have not experienced such problems.
Looking at your configuration, the MaxFactories is not recommended to be above 1. It sets up several AMQP Connections and even with our load we do not need more than 1 AMQP Connection.