US20030195866A1

Transaction-aware caching for access control metadata

Claim Score by NHIP

Read claim 14, the broadest

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.

US20030195866A1, drawing sheet 1
Sheet 1 of 8

Term

Term ended

Projected expiry passed 22 September 2022, 4 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

29 claims: 3 independent, 26 dependent

  1. 1
    A method for finding folder path metadata for a file that is managed by a database system, comprising the computer-implemented steps of:receiving a request associated with a session for an operation on said file that is managed by said database system;looking for said folder path metadata associated with said file in one or more session caches that are associated with said session;if said entry is not in said one or more session caches, then looking for said folder path metadata in one or more shared caches whose entries are accessible to multiple sessions;and if said folder path metadata is not in said one or more shared caches, then looking in said database for said file.
  2. 14
    Broadest claimClaim Score 71, broad(NHIP)A method for maintaining folder path metadata for a file in a cache hierarchy comprising the steps of:storing within a first cache a first version of said folder path metadata that includes only changes made by a transaction associated with said first cache;storing within a second cache a second version of said folder path metadata that does not include said changes made by said transaction;providing data from said first version of said folder path metadata to said transaction;providing data from said second version of said folder path metadata to transactions other than said transaction until said transaction successfully terminates;and invalidating said second version of said folder path metadata when said transaction successfully terminates.
  3. 15
    A method for finding folder path metadata comprising the steps of:maintaining outside of a database system a first cache and a second cache that store said folder path metadata for a file stored in said database system;wherein said first cache stores a first set of folder path metadata that reflects modifications made during a first session and does not reflect modifications made during a second session;wherein said second cache stores a second set of folder path metadata that reflects said modifications made during said second session and does not reflect said modifications made during said first session;providing requests received in said first session with data from said first set of folder path metadata;and providing requests received in said second session with data from said second set of folder path metadata.