|
9 months ago ::
Sep 26, 2011 - 10:03AM
#1
|
Jason
CEO, Principal Consultant
Atlantis Technology Solutions
|
What are the best practices and trade secrets from the trenches for designing Message Affinity in an HA WMB infrastructure on distributed system?Message Affinity for WebSphere Message Broker: What are the best practices for designing affinity soluitons where MQ Clustering is being used with WMB? What are the standards and guidance to developers and systems administrators? For a large and growing infrastructure is it best to separate affinity Queues and Queue Managers from Clustered Queues and QueueManagers? Why?
|
|
5 months ago ::
Dec 23, 2011 - 9:52AM
#2
|
FJ
Middleware Architect
Direct Brands Inc
|
Remember that the design for a tool like WMB is based on stateless messages. Hence having message affinity defeats somewhat the purpose and impairs seriously your scaling ability. Having said that, if you need to use message affinity in a cluster you better use message grouping for all related messages. All messages from a same group need to go to the same queue instance in the cluster. This covers only the case where the sender knows about the affinity beforehand and is able to send the corresponding messages in a single group. Best to deal with message affinity is to just park the messages in a DB and let some background process handle the messages and the affinity. In other words: offload message affinity to whatever other type of processing you can...
|
|
5 months ago ::
Dec 23, 2011 - 1:04PM
#3
|
Jason
CEO, Principal Consultant
Atlantis Technology Solutions
|
FJ, that is an excellent point to utilize a persistence solution when appropriate for SLAVE, etc. I am thinking primarily of situations where it is not feasible and SLAs warrant inherant affinity. Could you expound on the specifics or point to an example and or resources regarding grouping? Thanks again for the input!
|
|
5 months ago ::
Dec 23, 2011 - 1:05PM
#4
|
Jason
CEO, Principal Consultant
Atlantis Technology Solutions
|
SLA...not SLAVE..auto complete from my smartphone...
|