-
1. Re: HornetQ (2.3.20 Final) Message Queue running on Jboss-AS in AWS clustered and multiple regions
clebert.suconic Nov 11, 2015 9:55 AM (in response to steve.jamieson)I - Why you don't use Artemis 1.1... it's much better already.
II - some high profile users I know were not using failover at all as they were just trusting the storage and monitoring to restart the instance as soon as something died, and have the clients to reconnect.
-
2. Re: HornetQ (2.3.20 Final) Message Queue running on Jboss-AS in AWS clustered and multiple regions
jbertram Nov 11, 2015 10:44 AM (in response to steve.jamieson)DR functionality isn't specifically supported by HornetQ. However, you if Region A and Region B have a reliable network connection between them then I think you could do what you want with a 4 node cluster (2 live nodes in Region A, 2 backup nodes in Region B just as you've described). There are a couple of key issues that I see at this point:
- Ensure the consumers in each region do not use a connection factory with HA = true so that when fail-over occurs the consumers don't connect to the servers in the other region.
- If only one of the live nodes in Region A fail then you would end up with a node in Region A up and a node in Region B up. I'm not sure how to mitigate that one.
At the end of the day I think you should look at Apache ActiveMQ Artemis. The HornetQ code-base was donated to Apache ActiveMQ a little over a year ago now and is continuing it's life as ActiveMQ Artemis. No further work will be done on HornetQ.
-
3. Re: HornetQ (2.3.20 Final) Message Queue running on Jboss-AS in AWS clustered and multiple regions
steve.jamieson Nov 12, 2015 9:35 PM (in response to clebert.suconic)Hi Clebert,
We will be looking at changing our messaging architecture in the future, however this needs to be phased in due to timelines,
Thanks for the suggestion, will have a review.
-
4. Re: HornetQ (2.3.20 Final) Message Queue running on Jboss-AS in AWS clustered and multiple regions
steve.jamieson Nov 15, 2015 5:28 PM (in response to jbertram)Hi Justin,
Thanks for the feedback and suggestions, after some further testing have found the application does not like connect to a backup server.
As for the message queue solution overall we will be assessing other alternatives, however needs to be worked into the current project and roadmap.
Cheers,
Steve
-
5. Re: HornetQ (2.3.20 Final) Message Queue running on Jboss-AS in AWS clustered and multiple regions
jbertram Nov 16, 2015 11:10 AM (in response to steve.jamieson)...after some further testing have found the application does not like connect to a backup server.
What do you mean, exactly?