Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Self-Adaptive Leasing for Jini



K Bowers, Kevin L. Mills, Scott W. Rose


Distributed computing environments require strategies by which components can detect and recover from failures in remote, collaborating components. Many protocols for distributed systems employ a strategy based on leases, which grant a leaseholder with access to data or services for a limited time (the lease period). If the leaseholder does not renew a lease before expiration of the lease period, the lease grantor assumes the leaseholder has failed and terminates the lease (withdrawing the previously granted access). Choosing an appropriate lease period requires consideration of tradeoffs among resource utilization, responsiveness, and the number of leaseholders. We investigate these issues in the context of Jini Network Technology, a service-discovery protocol created by Sun Microsystems. First, we establish quantitative tradeoffs among lease period, bandwidth utilization, responsiveness, and system size. Then, we consider two self-adaptive algorithms that enable a Jini system, given a fixed allocation of resources, to vary lease periods to achieve the best responsiveness as system size varies. We compare the performance of these self-adaptive algorithms against each other, and against fixed lease periods chosen to accommodate a specific system size. We find that one of the self-adaptive algorithms, based on a simple restriction to the Jini specification, proves easy to implement and performs reasonably well. We anticipate that similar procedures could add self-adaptive capability to other distributed systems that rely on leases.
Proceedings Title
2003 IEEE International Conference on Pervasive Computing and Communications (PerCom)
Conference Location


distributed systems, leases, service discovery


Bowers, K. , Mills, K. and Rose, S. (2003), Self-Adaptive Leasing for Jini, 2003 IEEE International Conference on Pervasive Computing and Communications (PerCom), Undefined, [online], (Accessed March 5, 2024)
Created February 28, 2003, Updated October 12, 2021