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
Should a single connection object be used for all actions? #4
Comments
On 03/27/2016 01:17 PM, Craig Brookes wrote:
You can certainly use a single connection for everything you do - or not. The examples -> The srmgor_1conn subdirectory: Send and Receive, multiple go routines, all senders/receiver goroutines (I think you are suggesting this is your design choice.) The _srmgor_1smrconn_subdirectory: Send and Receive, multiple go routines, 1 sender/publisher network-and- The srmgor_2conn subdirectory: Send and Receive, multiple go routines, two connections total, 1 The _srmgor_manyconn_subdirectory: Send and Receive, multiple go routines, 1 network-and-Stompngo The stompngo package is implemented such that you can accomplish However, in practice, you will find that your design choice has
As with all things performance related: I suggest you implement It is hoped that all of the examples above can help you with the best I hope all this is .... food for thought and will help you with the Please let me know if you have any questions. Regards, Guy |
Hey, |
Hey,
Just trying out this lib. Was curious whether the stomp connection should be created just once and reused for subscribing and publishing or whether a new one should be created per action. My assumption is to use a single connection for all application actions.
The text was updated successfully, but these errors were encountered: