# US 2016/0241670 A1 · Instantaneous non-blocking content purging in a distributed platform

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0241670 A1
- Document ID: US20160241670A1
- Status: Published application
- Kind: A1
- Application number: 15/137,357
- Filed: 2016-04-25
- Published: 2016-08-18
- Earliest claimed: 2013-09-25
- Assignees: Verizon Digital Media Services Inc.
- Applicants: Verizon Digital Media Services Inc.
- Inventors: Derek Shiell; Robert J. Peters; Amir Khakpour; Alexander A. Kazerani
- Web page: https://patentgrep.com/patent/US20160241670A1

## CPC

- H04L 67/5682: Policies or rules for updating, deleting or replacing the stored data
- G06F 12/126: with special data handling, e.g. priority of data or instructions, handling errors or pinning
- H04L 43/106: using time related information in packets, e.g. by adding timestamps
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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.

## Claims

### 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;
receiving by the content distribution server, 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;
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, 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.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1 further comprising associating a first timestamp with the copy of the particular content and a second timestamp with said command.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein executing the cache miss further comprises performing said replacing in response to the second timestamp of the command being newer than the first timestamp of the copy of the particular content.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3 further comprising executing a cache hit in response to the user request and the first timestamp of the copy of the particular content being newer than the second timestamp of the command, wherein executing the cache hit comprises sending the copy of the particular content from said memory in answer to the user request.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1 further comprising entering the command into a configuration of the content distribution server without physically purging the copy of the particular content from said memory.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein entering the command comprises entering at least one of a Uniform Resource Locator (URL) or pattern into said configuration, wherein the URL matches said pattern.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein executing the cache miss further comprising matching a URL from the user request to the URL or the pattern from said configuration.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the command is a first command comprising a first identifier identifying the particular content, the method further comprising receiving a second command comprising a second identifier identifying different content from the plurality of content, and generating a regular expression in response to receiving said first command and said second command, wherein the regular expression matches at least to the first identifier and the second identifier, and wherein executing the cache miss further comprises determining an identifier from the user request matches to said regular expression.

### Claim 9

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, an expression with at least two content request identifiers from the set of content request identifiers matching said expression;
receiving at the content distribution server, a user request comprising a particular content request identifier identifying particular content from the set of cached content; and
responding to the user request with a cache miss from the content distribution server in response to the particular content request identifier matching said expression.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein responding to the user request comprises retrieving a fresh copy of the particular content from an origin source and serving the fresh copy of the particular content from the origin source in place of an existing copy of the particular content cached in said memory.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein responding to the user request further comprises replacing the existing copy of the particular content cached in said memory with the fresh copy from the origin source and updating a timestamp of the particular content.

### Claim 12 (depends on 9)

The computer-implemented method of claim 9 further comprising caching the set of cached content to memory and retaining a cached copy of the particular content in said memory in between said receiving the set of content request identifiers and said responding to the user request.

### Claim 13 (depends on 9)

The computer-implemented method of claim 9 further comprising responding to the user request with a cache hit from the content distribution server in response to the particular content request identifier not matching said expression, wherein responding with the cache hit comprises serving said particular content from memory.

### Claim 14 (depends on 9)

The computer-implemented method of claim 9 further comprising responding to the user request with a cache miss from the content distribution server in response to the particular content request identifier not matching said expression and a time-to-live parameter of the particular content expiring.

### Claim 15 (depends on 9)

The computer-implemented method of claim 9 further comprising purging the set of content from said memory in response to resources of the content distribution server falling below a threshold.

### Claim 16 (depends on 9)

The computer-implemented method of claim 9, wherein said expression is a regular expression comprising at least one wildcard character.

### Claim 17 (depends on 9)

The computer-implemented method of claim 9 further comprising effectively purging the set of content without physically purging any content from the set of content prior to said responding, wherein effectively purging the set of content comprises modifying content distribution server responses to requests for content from the set of content from cache hits to cache misses.

### Claim 18

A computer-implemented method for purging content across a distributed platform with a purge control server and a plurality of points-of-presence (PoPs) with each PoP of the plurality of PoPs comprising a plurality of storage servers, the computer-implemented method comprising:
receiving at the purge control server, a set commands requesting purging of a set of customer content from the distributed platform;
transmitting said set of commands from the purge control server to a first storage server of a first PoP of the plurality of PoPs and a second storage server of a second PoP of the plurality of PoPs;
distributing said set of commands from the first storage server to all other storage servers of the first PoP, and from the second storage server to all other storage server of the second PoP;
purging the plurality of customer content from the plurality of storage servers of the first and second PoPs; and
propagating execution confirmation of said set of commands to the purge control server (i) from the first storage server after each storage sever of the plurality of storage servers of the first PoP completes said purging, and (ii) from the second storage server after each storage sever of the plurality of storage servers of the second PoP completes said purging.

### Claim 19 (depends on 18)

The computer-implemented method of claim 18 further comprising providing execution confirmation of said set of commands from each storage server of the plurality of storage servers of the first PoP to the first storage server in response to each storage server of the plurality of storage servers of the first PoP successfully executing said set of commands, and providing execution confirmation of said set of commands from each storage server of the plurality of storage servers of the second PoP to the second storage server in response to each storage server of the plurality of storage servers of the second PoP successfully executing said set of commands.

### Claim 20 (depends on 18)

The computer-implemented method of claim 18 further comprising resending a subset of the set of commands to the second storage server in response to the second storage server confirming successful execution of part of the set of commands prior to an expiration interval.
