Invalidation in a content delivery network (CDN)
First Claim
1. A computer-implemented method, operable on a device in a content delivery network (CDN), wherein said CDN delivers content on behalf of at least one content provider, and wherein the content associated with said at least one content provider comprises at least one property, said device implementing a content delivery (CD) service, the method comprising, by said service on said device:
- (A) maintaining property invalidation information on said CD service, said property invalidation information comprising, for each property handled by said CD service, a list of one or more group invalidation commands;
(B) in response to receipt by said CD service of at least one new group invalidation command for a particular property, attempting to add said new group invalidation command to said property invalidation information by;
(B)(1) if a size of said list of one or more group invalidation commands for said particular property does not exceed a particular threshold, then inserting said new group invalidation command into said list;
otherwise,(B)(2) if a size of said list of one or more group invalidation commands for said particular property exceeds a particular threshold, then (i) merging one or more invalidation commands to form a merged invalidation command, (ii) inserting said merged invalidation command into said list, and (iii) removing said one or more invalidation commands from said list, wherein said merging is based on a length of common prefix of the invalidation commands being merged.
1 Assignment
0 Petitions
Accused Products
Abstract
A content delivery (CD) service in a CDN maintains property invalidation information on said CD service including, for each property, a list of one or more group invalidation commands. New group invalidation commands are added by selectively merging one or more invalidation commands to form a merged invalidation command and inserting the merged invalidation command into said list, wherein the merging is based on a length of common prefix of elements in said list. A per property common prefix list is maintained for invalidation commands in each property list.
83 Citations
16 Claims
-
1. A computer-implemented method, operable on a device in a content delivery network (CDN), wherein said CDN delivers content on behalf of at least one content provider, and wherein the content associated with said at least one content provider comprises at least one property, said device implementing a content delivery (CD) service, the method comprising, by said service on said device:
-
(A) maintaining property invalidation information on said CD service, said property invalidation information comprising, for each property handled by said CD service, a list of one or more group invalidation commands; (B) in response to receipt by said CD service of at least one new group invalidation command for a particular property, attempting to add said new group invalidation command to said property invalidation information by; (B)(1) if a size of said list of one or more group invalidation commands for said particular property does not exceed a particular threshold, then inserting said new group invalidation command into said list;
otherwise,(B)(2) if a size of said list of one or more group invalidation commands for said particular property exceeds a particular threshold, then (i) merging one or more invalidation commands to form a merged invalidation command, (ii) inserting said merged invalidation command into said list, and (iii) removing said one or more invalidation commands from said list, wherein said merging is based on a length of common prefix of the invalidation commands being merged. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. An article of manufacture comprising a non-transitory computer-readable medium having program instructions stored thereon, the program instructions, operable on a computer system in a content delivery network (CDN), wherein said CDN delivers content on behalf of at least one content provider, and wherein the content associated with said at least one content provider comprises at least one property, said device implementing a content delivery (CD) service, wherein execution of the program instructions by one or more processors of said computer system causes the one or more processors to carry out the acts of:
-
(A) maintaining property invalidation information on said CD service, said property invalidation information comprising, for each property handled by said CD service, a list of one or more group invalidation commands; (B) in response to receipt by said CD service of at least one new group invalidation command for a particular property, attempting to add said new group invalidation command to said property invalidation information by; (B)(1) if a size of said list of one or more group invalidation commands for said particular property does not exceed a particular threshold, then inserting said new group invalidation command into said list;
otherwise,(B)(2) if a size of said list of one or more group invalidation commands for said particular property exceeds a particular threshold, then (i) merging one or more invalidation commands to form a merged invalidation command, (ii) inserting said merged invalidation command into said list, and (iii) removing said one or more invalidation commands from said list, wherein said merging is based on a length of common prefix of the invalidation commands being merged.
-
-
16. A device in a content delivery network (CDN), wherein said CDN delivers content on behalf of at least one content provider, and wherein the content associated with said at least one content provider comprises at least one property, said device implementing a content delivery (CD) service, the device:
-
(A) maintaining property invalidation information on said CD service, said property invalidation information comprising, for each property handled by said CD service, a list of one or more group invalidation commands; (B) in response to receipt by said CD service of at least one new group invalidation command for a particular property, attempting to add said new group invalidation command to said property invalidation information by; (B)(1) if a size of said list of one or more group invalidation commands for said particular property does not exceed a particular threshold, then inserting said new group invalidation command into said list;
otherwise,(B)(2) if a size of said list of one or more group invalidation commands for said particular property exceeds a particular threshold, then (i) merging one or more invalidation commands to form a merged invalidation command, (ii) inserting said merged invalidation command into said list, and (iii) removing said one or more invalidation commands from said list, wherein said merging is based on a length of common prefix of the invalidation commands being merged.
-
Specification