Optimizing storage in a publish / subscribe environment
First Claim
1. A method for managing at least a master copy of a non-transitory machine readable data file in a database according to a publication subscription system model, the method comprising:
- saving the machine readable data file corresponding to a first message in the database as the master copy of the machine readable data file;
receiving a list of subscribers that subscribe to a topic of the first message;
generating consumption metadata includes data indicating whether each subscriber of the list of subscribers is has, or is likely to want to, consume the first message;
responsive to adding a new subscriber to the list of subscribers, revising the consumption metadata to include data indicating whether the new subscriber has, or is likely to want to, consume the first message;
responsive to a determination that an inactive subscriber has become inactive, revising the consumption metadata to remove data relating to the inactive subscriber;
on condition that the consumption data indicates that at least one subscriber has not, and is not likely to, consume the first message, duplicating the first message; and
on condition of a determination that all subscribers have consumed the first message, deleting the master copy of the machine readable data file in the database;
wherein the consumption metadata includes a binary bit to respectively indicate consumption status for each subscriber of the plurality of subscribers.
1 Assignment
0 Petitions
Accused Products
Abstract
Creating message files in a publication subscription computer system by: (i) receiving data corresponding to a first message; (ii) receiving a list of subscribers that subscribe to a topic of the first message; and (iii) creating a digital data file that includes a payload data and a consumption metadata. The payload data includes content data corresponding to the first message. The consumption metadata includes data relating to whether one or more subscribers of the list of subscribers will potentially consume the first message at a later period in time from the time of receiving the content data corresponding to the first message.
-
Citations
1 Claim
-
1. A method for managing at least a master copy of a non-transitory machine readable data file in a database according to a publication subscription system model, the method comprising:
-
saving the machine readable data file corresponding to a first message in the database as the master copy of the machine readable data file; receiving a list of subscribers that subscribe to a topic of the first message; generating consumption metadata includes data indicating whether each subscriber of the list of subscribers is has, or is likely to want to, consume the first message; responsive to adding a new subscriber to the list of subscribers, revising the consumption metadata to include data indicating whether the new subscriber has, or is likely to want to, consume the first message; responsive to a determination that an inactive subscriber has become inactive, revising the consumption metadata to remove data relating to the inactive subscriber; on condition that the consumption data indicates that at least one subscriber has not, and is not likely to, consume the first message, duplicating the first message; and on condition of a determination that all subscribers have consumed the first message, deleting the master copy of the machine readable data file in the database; wherein the consumption metadata includes a binary bit to respectively indicate consumption status for each subscriber of the plurality of subscribers.
-
Specification