Instantaneous non-blocking content purging in a distributed platform
First Claim
1. A computer-implemented method for non-blocking content purging, the method comprising:
- caching a plurality of content to memory of a content distribution server with a first timestamp corresponding to a time at which each content of the plurality of content is cached to the memory;
providing, by the content distribution server, a different second timestamp to a command designating removal of particular content from said memory, wherein the particular content is part of the plurality of content cached to said memory, and wherein the second timestamp corresponds to a time at which the command is received at the content distribution server;
maintaining a copy of the particular content in said memory in response to said command and before the content distribution server receives a user request for the particular content;
receiving by the content distribution server, a user request for the particular content; and
executing by the content distribution server, a cache miss, in response to the user request, based on the first timestamp of the particular content being older than the second timestamp of the command, wherein executing the cache miss comprises replacing the copy of the particular content in said memory with an updated copy retrieved from an origin server and sending the updated copy in answer to the user request.
5 Assignments
0 Petitions
Accused Products
Abstract
Some embodiments provide instantaneous and non-blocking content purging across storage servers of a distributed platform. When a server receives a purge operation, it extracts an identifier from the purge operation. The server then generates a content purge pattern from the identifier and injects the pattern to its configuration. Instantaneous purging is then realized as the server averts access to any cached content identified by the pattern. The purging also occurs in a non-blocking fashion as the physical purge of the content occurs in-line with the server'"'"'s cache miss operation. The content purge pattern causes the server to respond to a subsequently received content request with a cache miss, whereby the server retrieves the requested content from an origin source, serves the retrieved content to the requesting user, and replaces a previously cached copy of the content that is to be purged with the newly retrieved copy.
-
Citations
16 Claims
-
1. A computer-implemented method for non-blocking content purging, the method comprising:
-
caching a plurality of content to memory of a content distribution server with a first timestamp corresponding to a time at which each content of the plurality of content is cached to the memory; providing, by the content distribution server, a different second timestamp to a command designating removal of particular content from said memory, wherein the particular content is part of the plurality of content cached to said memory, and wherein the second timestamp corresponds to a time at which the command is received at the content distribution server; maintaining a copy of the particular content in said memory in response to said command and before the content distribution server receives a user request for the particular content; receiving by the content distribution server, a user request for the particular content; and executing by the content distribution server, a cache miss, in response to the user request, based on the first timestamp of the particular content being older than the second timestamp of the command, wherein executing the cache miss comprises replacing the copy of the particular content in said memory with an updated copy retrieved from an origin server and sending the updated copy in answer to the user request. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-implemented method comprising:
-
receiving at a content distribution server, a set of content request identifiers designating removal of a set of cached content from memory of the content distribution server; generating by the content distribution server, a single pattern as a substitute for the set of content request identifiers, the single pattern comprising a character sequence matching each content request identifier from the set of content request identifiers; receiving at the content distribution server, a first user request and a second user request, the first user request comprising a first content request identifier identifying first content from the set of cached content, and the second user request comprising a second content request identifier identifying second content from the set of cached content; and responding to each of the first user request and the second user request with a cache miss from the content distribution server in response to the first content request identifier and the second content request identifier matching to the character sequence of the single pattern. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A device comprising:
-
a cache memory; a non-transitory computer-readable medium storing a set of processor-executable instructions; and one or more processors configured to execute the set of processor-executable instructions, wherein executing the set of processor-executable instructions causes the one or more processors to; cache a plurality of content to memory to the cache memory with a first timestamp corresponding to a time at which each content of the plurality of content is cached to the cache memory; provide a different second timestamp to a command designating removal of particular content from the cache memory, wherein the particular content is part of the plurality of content cached to the cache memory, and wherein the second timestamp corresponds to a time at which the command is received at the content distribution server; maintain a copy of the particular content in the cache memory in response to the command and before the content distribution server receives a user request for the particular content; receive a user request for the particular content; and execute a cache miss, in response to the user request, based on the first timestamp of the particular content being older than the second timestamp of the command, wherein executing the cache miss comprises replacing the copy of the particular content in the cache memory with an updated copy retrieved from an origin server and sending the updated copy in answer to the user request.
-
Specification