Patent ID: 8495127

Claim:
A method for publish/subscribe messaging, comprising: attaching a publish/subscribe spoke system to a first publish/subscribe message broker within a hub collective comprising a plurality of publish/subscribe message brokers; removing the attachment of the publish/subscribe spoke system from the first publish/subscribe message broker within the hub collective; selecting a second publish/subscribe message broker from available publish/subscribe message brokers within the hub collective, further comprising: determining a total number of the available publish/subscribe message brokers within the hub collective; determining a range of Universally Unique Identifier (UUID) hashcodes of publish/subscribe spoke systems attached to the available publish/subscribe message brokers within the hub collective, the range comprising a lowest value of the UUID hashcodes through a highest value of the UUID hashcodes; computing a distribution of the range of UUID hashcodes over the determined total number of the available publish/subscribe message brokers within the hub collective, the distribution computed so as to attach on average an identical number of publish/subscribe spoke systems to each of the available publish/subscribe message brokers; and selecting one of the available publish/subscribe message brokers to which the UUID hashcode of the publish/subscribe spoke system is distributed, by the computing, to become the second publish/subscribe message broker; and automatically attaching the publish/subscribe spoke system to the second publish/subscribe message broker within the hub collective.