US 11,960,407 B1
Cache purging in a distributed networked system
Zaidoon Abd Al Hadi, Ontario (CA); Connor Harwood, Los Angeles, CA (US); Alex Krivit, Denver, CO (US); Samantha Aki Shugaeva, Palo Alto, CA (US); and Steven Alexander Siloti, San Mateo, CA (US)
Assigned to CLOUDFLARE, INC., San Francisco, CA (US)
Filed by CLOUDFLARE, INC., San Francisco, CA (US)
Filed on Oct. 6, 2023, as Appl. No. 18/482,707.
Int. Cl. G06F 12/08 (2016.01); G06F 12/0891 (2016.01); G06F 12/14 (2006.01)
CPC G06F 12/0891 (2013.01) [G06F 12/1466 (2013.01)] 21 Claims
OG exemplary drawing
 
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.