×

Path-caching mechanism to improve performance of path-related operations in a repository

  • US 8,949,455 B2
  • Filed: 11/21/2005
  • Issued: 02/03/2015
  • Est. Priority Date: 11/21/2005
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of processing path-based operations, the method comprising:

  • in response to a request to determine a complete path to a requestor-specified first node, and upon determining that a path cache does not contain a first cache entry that specifies a complete path from a root node to the first node, which is an immediate child of a second node in a hierarchy of nodes, determining whether the path cache contains a second cache entry that specifies a complete path from the root node to the second node;

    upon determining that the path cache does not contain the second cache entry, automatically determining a pathname that specifies the complete path from the root node to the second node and inserting, into the path cache, a particular cache entry that (a) corresponds to the second node and (b) indicates the pathname for the second node;

    storing, in the particular cache entry, a first value that indicates a quantity of nodes that descend from the second node in the hierarchy; and

    in response to a determination that at least one cache entry is to be evicted from the path cache, selecting the particular cache entry for eviction from the path cache based at least in part on the first value;

    wherein the method is performed by one or more computing devices.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×