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?
preguntada hace 5 años257 visualizaciones
2 Respuestas
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
respondido hace 5 años
0

Thanks Trevor, you rock. Very helpful answers.

respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas