Questions about networks of brokers

0

I'm trying to figure out if using a network of brokers will solve some of the problems I'm having with single-instance and active-standby brokers.
With a network of brokers,

  • can a client use one URL to connect to the network of brokers, or would the client need to potentially try separate URLs for each broker in the network?
  • Amazon has started making noise about instituting a limit on the number of connections a given broker can have open at a given time - does that limit go up if that broker is part of a network?
  • if using a network of single-instance brokers, would an automatic failover work the same way as it does for active-standby pairs?
질문됨 5년 전257회 조회
2개 답변
0

Thanks for your questions.

Q: With a network of brokers, can a client use one URL to connect to the network of brokers, or would the client need to potentially try separate URLs for each broker in the network?

A: The client can either use a connection string with multiple endpoints, or if updateClusterClients is set to true, clients can be configured to connect to a single broker in a network of brokers. See https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/network-of-brokers.html for more details.

Q: Amazon has started making noise about instituting a limit on the number of connections a given broker can have open at a given time - does that limit go up if that broker is part of a network?

A: I believe you are referring to the 100 connection limit on t2.micro brokers. The limit is per broker per protocol, so if you have 2 brokers in a network, you have a total of 200 connections per protocol.

Q: if using a network of single-instance brokers, would an automatic failover work the same way as it does for active-standby pairs?

A: Not exactly. The client will reconnect to another active node in the network, so it is more of an active-active model. In the background Amazon MQ will replace the failed node but this may take several minutes, as opposed to active-standby where the node is replaced within ~10-90 sec.

Hope this helps.

AWS
답변함 5년 전
0

Thanks Trevor, you rock. Very helpful answers.

답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠