Synchronization of a client and a server in a prefetching resource allocation system
Abstract
A prefetching resource allocation system is provided. Although performance improvements are realized through the use of prefetching, the use of prefetching introduces a problem where the client and the server may become unsynchronized with respect to their understanding of whether a resource is allocated. The improved resource allocation system prevents this synchronization problem from occurring by maintaining a counter for the client as well as a counter for the server. Each time that the server allocates a resource to the client, the server increments its counter. Similarly, each time that the client receives an indication that the resource has been allocated on its behalf, the client increments its counter. When the client requests the deallocation of a resource, it provides the current value of its counter. Hence, upon receiving a deallocation request, the server determines if the client's counter value received in the deallocation request is less than the server's counter value. If this condition is true, the synchronization problem has been detected because the resource has been allocated to the client while the deallocation request was in transit to the client. Unde
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 48.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method in a data processing system having a server that manages allocation of database objects and a client that requests allocation of the database objects, wherein the server maintains a server counter that is incremented each time that a database object is allocated to the client, and wherein the client maintains a client counter that is incremented each time that the client is made aware of an allocation of a database object on its behalf, comprising the steps of: the client requesting allocation of a first of the database objects; the server allocating the first database object to the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 48 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (4)
- Dijkstra, Edsger W. et al., "On the Fly Garbage Collection: An Exercise in Cooperation," Communications of the ACM, vol. 21, No. 11, Nov. 1978, pp. 966-975.
- Dijkstra, Edsger W. et al., On the Fly Garbage Collection: An Exercise in Cooperation, Communications of the ACM, vol. 21, No. 11, Nov. 1978, pp. 966 975.
- Lamport, Leslie, "Time, Clocks, and the Ordering of Events in a Distributed System," Communications of the ACM, vol. 21, No. 7, Jul. 1978, pp. 558-565.
- Lamport, Leslie, Time, Clocks, and the Ordering of Events in a Distributed System, Communications of the ACM, vol. 21, No. 7, Jul. 1978, pp. 558 565.