Azure / go-amqp

AMQP 1.0 client library for Go.
https://github.com/Azure/go-amqp
MIT License
104 stars 56 forks source link

Support sharing session #285

Closed alex3dm closed 1 year ago

alex3dm commented 1 year ago

Good day! Does your library support sharing session when multi connecting?

jhendrixMSFT commented 1 year ago

Sessions are unique per connection. Can we get more info on your scenario?

alex3dm commented 1 year ago

To improve performance, we subtract messages from the queue into several threads We connect to ArtemisMQ via the amqp protocol Our application is a microservice. The number of instances can be 100-1000, because of this, the number of connections is also a lot to ArtemisMQ, which increases utilization on ArtemisMQ. To solve the problem, you need sharing sessions. We have an application in java and there at the library level (org.apache.activemq:artemis-jms-client:2.19.1) there is support for sharing sessions. But there is a protocol used there the native Core protocol

jhendrixMSFT commented 1 year ago

Thanks for the explanation.

This module is purely for implementing the AMQP 1.0 protocol. Anything beyond that isn't in scope.

jhendrixMSFT commented 1 year ago

Please ping back if you have further questions.