Patent ID: 8489694

Claim:
A method for establishing peer-to-peer (P2P) collaboration of publishers in a publish-subscription (pub/sub) messaging environment, comprising: establishing P2P communication between a set of publisher systems in the pub/sub messaging environment; identifying a set of data that is common to the set of publisher systems having a potential to be cached; generating a unique identifier corresponding to the set of data on at least one of the set of publisher systems, the unique identifier identifying the set of data as cacheable; sharing the unique identifier among the set of publisher systems; associating the set of data with the unique identifier; sending a first message having the set of data and the unique identifier to a broker system in the pub/sub messaging environment; receiving the first message on the broker system; locating the unique identifier; causing the set of data to be stored in a cache; sending the first message to a set of subscriber systems in the pub/sub messaging environment; receiving a second message on the broker system from any of the set of publisher systems, the second message comprising an abbreviated message having the unique identifier in place of the set of data; locating the unique identifier in the abbreviated message; retrieving the set of data from the cache; replacing the unique identifier with the set of data in the second message to yield a completed message; and sending the completed message to the set of subscriber systems.