Adaptive query targeting in a dynamic distributed environment
First Claim
1. A method for adaptive query targeting in a distributed computing system having two or more cooperating nodes, the method comprising:
- using a peer selection criteria to select one or more of the nodes as target peers for a query from a querying node;
leasing a subscription to the target peers for a given length of time via a lease having a given lifetime, wherein the subscription comprises the query and the peer selection criteria for the query;
periodically refreshing the subscription during the lifetime of the lease by re-evaluating the peer selection criteria of the subscription against the target peers such that the query persists on one or more of the target peers for the lifetime of the lease, wherein re-evaluating the peer selection criteria comprises;
removing target peers that no longer meet the peer selection criteria; and
adding new target peers that meet the peer selection criteria; and
having the query removed from the target peers when the lease expires.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for adaptive query targeting in a dynamic distributed computing environment are provided. In one aspect, a method for adaptive query targeting in a distributed computing system having two or more cooperating nodes is provided. The method includes the steps of: using a peer selection criteria to select one or more of the nodes as target peers for a query from a querying node; leasing the query to the target peers for a given length of time via a lease having a given lifetime; periodically refreshing the query during the lifetime of the lease by re-evaluating the peer selection criteria such that the query persists on one or more of the target peers for the lifetime of the lease; and having the query removed from the target peers when the lease expires.
-
Citations
14 Claims
-
1. A method for adaptive query targeting in a distributed computing system having two or more cooperating nodes, the method comprising:
-
using a peer selection criteria to select one or more of the nodes as target peers for a query from a querying node; leasing a subscription to the target peers for a given length of time via a lease having a given lifetime, wherein the subscription comprises the query and the peer selection criteria for the query; periodically refreshing the subscription during the lifetime of the lease by re-evaluating the peer selection criteria of the subscription against the target peers such that the query persists on one or more of the target peers for the lifetime of the lease, wherein re-evaluating the peer selection criteria comprises; removing target peers that no longer meet the peer selection criteria; and adding new target peers that meet the peer selection criteria; and
having the query removed from the target peers when the lease expires. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product for adaptive query targeting in a distributed computing system having two or more cooperating nodes. the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to:
-
use a peer selection criteria to select one or more of the nodes as target peers for a query from a querying node; lease a subscription to the target peers for a given length of time via a lease having a given lifetime, wherein the subscription comprises the query and the peer selection criteria for the query; periodically refresh the subscription during the lifetime of the lease by re-evaluating the peer selection criteria of the subscription against the target peers such that the query persists on one or more of the target peers for the lifetime of the lease, wherein the program instructions when re-evaluating the peer selection criteria further cause the computer to; remove target peers that no longer meet the peer selection criteria; and add new target peers that meet the peer selection criteria; and
have the query removed from the target peers when the lease expires. - View Dependent Claims (12, 13, 14)
-
Specification