Method for using query templates in directory caches
First Claim
1. A method of managing a network directory cache, comprising the steps of:
- receiving and storing a plurality of user queries;
creating a query template that generalizes the user queries; and
retrieving directory entries answering the query template so that the directory entries can be stored in the cache.
4 Assignments
0 Petitions
Accused Products
Abstract
The present invention discloses the use of generalized queries, referred to as query templates, obtained by generalizing individual user queries, as the semantic basis for low overhead, high benefit directory caches for handling declarative queries. Caching effectiveness can be improved by maintaining a set of generalizations of queries and admitting such generalizations into the cache when their estimated benefits are sufficiently high. In a preferred embodiment of the invention, the admission of query templates into the cache can be done in what is referred to by the inventors as a “revolutionary” fashion—followed by stable periods where cache admission and replacement can be done incrementally in an evolutionary fashion. The present invention can lead to considerably higher hit rates and lower server-side execution and communication costs than conventional caching of directory queries—while keeping the clientside computational overheads comparable to query caching.
-
Citations
12 Claims
-
1. A method of managing a network directory cache, comprising the steps of:
-
receiving and storing a plurality of user queries;
creating a query template that generalizes the user queries; and
retrieving directory entries answering the query template so that the directory entries can be stored in the cache. - View Dependent Claims (2, 3, 4)
-
-
5. A method of managing a network directory cache comprising the steps of:
-
maintaining a plurality of candidate templates that may be used to retrieve directory entries to store in the cache;
receiving and storing a user query; and
generating a plurality of new candidate templates that generalize the candidate templates with the user query. - View Dependent Claims (6, 7)
-
-
8. A method of managing a network directory cache, comprising the steps of:
-
maintaining a plurality of candidate templates;
estimating a benefit of caching directory results answering the candidate templates; and
selecting a candidate template based on its benefit estimate and retrieving directory entries answering the candidate template so that the directory entries can be stored in the cache. - View Dependent Claims (9, 10, 11, 12)
-
Specification