Transaction-Aware Caching for Access Control Metadata
First Claim
1. A method for determining authorization to operate on a file, the method comprising the computer-implemented steps of:
- receiving a request, associated with a session, for an operation on the file;
looking in one or more session caches that are associated with said session for an entry that contains permissions metadata for said file;
if said entry is not in said one or more session caches, thenlooking for said entry in one or more shared caches whose entries are accessible to multiple sessions; and
if said entry is not in said one or more shared caches, then obtaining said permissions metadata from a source other than said one or more session caches and said one or more shared caches; and
using said permission data to determine whether said operation may be performed on said file.
0 Assignments
0 Petitions
Accused Products
Abstract
Techniques are provided for performing transaction-aware caching of metadata in an electronic file system. A mechanism is described for providing transaction-aware caching that uses a cache hierarchy, where the cache hierarchy includes uncommitted caches associated with sessions in an application and a committed cache that is shared among the sessions in that application. Techniques are described for caching document metadata, access control metadata and folder path metadata. Also described is a technique for using negative cache entries to avoid unnecessary communications with a server when applications repeatedly request non-existent data.
-
Citations
30 Claims
-
1. A method for determining authorization to operate on a file, the method comprising the computer-implemented steps of:
-
receiving a request, associated with a session, for an operation on the file; looking in one or more session caches that are associated with said session for an entry that contains permissions metadata for said file; if said entry is not in said one or more session caches, then looking for said entry in one or more shared caches whose entries are accessible to multiple sessions; and if said entry is not in said one or more shared caches, then obtaining said permissions metadata from a source other than said one or more session caches and said one or more shared caches; and using said permission data to determine whether said operation may be performed on said file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A computer-readable storage medium storing one or more sequences of instructions for determining authorization to operate on a file, which instructions, when executed by one or more processors, cause the one or more processors to perform the steps of:
-
receiving a request, associated with a session, for an operation on the file; looking in one or more session caches that are associated with said session for an entry that contains permissions metadata for said file; if said entry is not in said one or more session caches, then looking for said entry in one or more shared caches whose entries are accessible to multiple sessions; and if said entry is not in said one or more shared caches, then obtaining said permissions metadata from a source other than said one or more session caches and said one or more shared caches; and using said permission data to determine whether said operation may be performed on said file. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
-
Specification