CPC G06F 12/0891 (2013.01) [G06F 12/1466 (2013.01)] | 21 Claims |
1. A method for purging resources from a cache in a distributed networked system, the method comprising:
receiving, at a first data center of a plurality of data centers of the distributed networked system, a first purge request to purge a first resource from cache;
determining that the first purge request does not include a first cache key for the first resource, and responsive to this determination:
determining that the first purge request is valid,
purging the first resource from cache of the first data center,
generating the first cache key for the first resource, and
causing a second purge request that includes the generated first cache key to be sent to one or more other data centers of the plurality of data centers of the distributed network system, the second purge request to purge the first resource;
receiving, at a second data center of the plurality of data centers of the distributed network system, the second purge request that includes the generated first cache key; and
determining that the second purge request includes the generated first cache key for the first resource, and responsive to this determination:
skipping determining whether the second purge request is valid, and
purging, based on the generated first cache key, the first resource from cache of the second data center.
|