File System Enabling Fast Purges and File Access
First Claim
1. A computer-implemented method for organizing files on a computer file system, the computer-implemented method comprising:
- receiving a first request for first content, the first request identifying a directory path to the first content and a first filename for a first file associated with the first content;
generating a first file-level directory that is a subdirectory within the directory path based on the first filename, wherein the first file-level directory isolates files that are associated with the first content from files that are associated with other content;
storing the first file to the first file-level directory;
receiving a second request for second content that is different than the first content, the second request identifying the same directory path and a second filename for a second file associated with the second content;
generating a second file-level directory that is a subdirectory within the directory path based on the second filename; and
storing the second file to the second file-level directory.
6 Assignments
0 Petitions
Accused Products
Abstract
Some embodiments provide a file system for purging content based on a single traversal of the file system that identifies the directory containing the content without performing a secondary traversal within the directory to target the operation to only the file that are associated with content such that other files contained in the directory are unaffected. The file system supplements traditional directory structures with file-level directories. Each file-level directory is created to contain a root file associated with particular content, different variants of the particular content, and supporting files. Consequently, the file system can complete an operation targeting particular content by performing that operation on the file-level directory containing the particular content, thereby eliminating the need to conduct a file-by-file traversal of the containing directory as a prerequisite to identifying the files associated with the particular content and performing the operation on the files individually.
-
Citations
23 Claims
-
1. A computer-implemented method for organizing files on a computer file system, the computer-implemented method comprising:
-
receiving a first request for first content, the first request identifying a directory path to the first content and a first filename for a first file associated with the first content; generating a first file-level directory that is a subdirectory within the directory path based on the first filename, wherein the first file-level directory isolates files that are associated with the first content from files that are associated with other content; storing the first file to the first file-level directory; receiving a second request for second content that is different than the first content, the second request identifying the same directory path and a second filename for a second file associated with the second content; generating a second file-level directory that is a subdirectory within the directory path based on the second filename; and storing the second file to the second file-level directory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-implemented method for efficiently purging cached content from a file system, the computer-implemented method comprising:
-
identifying a common directory path that is specified as a location for a plurality of files associated with a plurality of different content; generating a subdirectory within the directory path for each item of content of the plurality of content; for each set of the plurality of files that is associated with same content, storing the set of files to a subdirectory within the directory path that is generated for that same content; receiving a purge operation directed to particular content of the plurality of different content; and purging a particular subdirectory within the directory path that contains the set of files that are associated with the particular content without analyzing any files in the directory path or the particular subdirectory. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. For a caching server that distributes content in response to requests for said content, a computer-implemented method for organizing and managing cached content, the computer-implemented method comprising:
-
receiving a request for content, the request comprising a URL identifying the content by way of a filename that follows a terminal directory of a directory path; generating a directory name to a subdirectory within the terminal directory of the directory path; appending the directory name to the terminal directory of the directory path; determining if a file having the filename is stored to the subdirectory; and serving the file in response to the request when the file is stored to the subdirectory. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23)
-
Specification