×

SYSTEM FOR REPLICATION-DRIVEN REPOSITORY CACHE INVALIDATION ACROSS MULTIPLE DATA CENTERS

  • US 20140310293A1
  • Filed: 04/13/2013
  • Published: 10/16/2014
  • Est. Priority Date: 04/13/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method, performed by one or more processors at a first data center, for invalidating items using a distributed cache mode at the first data center, the method comprising:

  • writing replication data, using the one or more processors, to a notifier table, with the replication data indicating updates made to tables of a database at a second data center that are replicated as updates to corresponding tables of a database at the first data center, with each row of the notifier table represented by a notification item holding metadata including the name of an updated first table of the database at the first data center, a timestamp indicating when an update occurred to the updated first table and a name/value pair, where the second data center is remote from the first data center;

    periodically polling, using the one or more processors, the metadata to access notification items having a timestamp indicating that the age of the notification item is less than a maximum value;

    mapping, using the one or more processors, a first table name stored in a first accessed notification item to one or more mapped object relational repository items that use the distributed cache mode;

    constructing, using the one or more processors, a unique identity for a mapped object relational repository item using one or more name/value pairs stored in a first accessed notification item and representing the primary key column(s) of the first table name stored in the first accessed notification item;

    invoking, using the one or more processors, a distributed cache invalidation system implemented only at the first data center; and

    providing, using the one or more processors, the unique identity of the mapped object relational depository item to be invalidated to the distributed cache invalidation system to invalidate all cached copies of the mapped object relational depository item at the first data center.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×