Check out the new USENIX Web site. next up previous
Next: Handling Queries in CUP Up: CUP Protocol Design Previous: CUP Update Types

CUP Node Bookkeeping

At each node, index entries are grouped together by key. For each key K, the node stores a ``Pending-Response'' flag that indicates whether the node is waiting to receive a response to a query for K, and an interest bit vector. Each bit in the vector corresponds to a neighbor and is set or clear depending on whether that neighbor is or is not interested in receiving updates for K.

Each node tracks the popularity or request frequency of each non-local key K for which it receives queries. The popularity measure for a key K can be the number of queries for K a node receives between arrivals of consecutive updates for K or a rate of queries in a sliding window of time. On an update arrival for K, a node uses its popularity measure to re-evaluate whether it is beneficial to continue caching and receiving updates for K. We elaborate on this cut-off decision in Section 4.4.

Node bookkeeping in CUP involves no network overhead and a few megabytes for hundreds of thousands of entries. With increasing CPU speeds and memory sizes, this bookkeeping is negligible when we consider the reduction in query latency achieved.


next up previous
Next: Handling Queries in CUP Up: CUP Protocol Design Previous: CUP Update Types
Mema Roussopoulos 2003-04-04