×

Publisher-based message data caching in a publish-subscription environment

  • US 9,537,970 B2
  • Filed: 10/30/2014
  • Issued: 01/03/2017
  • Est. Priority Date: 02/23/2011
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for caching potentially repetitive message data in a publish-subscription (pub/sub) messaging environment, comprising:

  • determining that a first type of message has a publication rate higher than other types of messages;

    identifying a set of data in a first message received on a broker system from a publisher system, the set of data having a potential to appear in at least one future message based on the publication rate, wherein the first message is of the first type;

    sending a unique identifier corresponding to the set of data from the broker system to the publisher system, the unique identifier identifying the set of data as cacheable;

    receiving a second message on the broker system from the publisher system, the second message having the unique identifier;

    retrieving the set of data from a cache;

    replacing the unique identifier in the second message with the set of data to yield a completed message;

    sending the completed message to a subscriber system;

    determining that a second type of message has a higher publication rate than other types of messages, the higher publication rate surpassing the publication rate of the first type of message; and

    invalidating the set of data from the cache in response to the determination that the second type of message has the higher publication rate than other types of messages.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×