Explain the use of leases in a discovery service to cope with the problem of service volatility.

What will be an ideal response?

The problem is that services may fail or become disconnected at any time, leaving stale entries in the service
directory.
Assume a lease expiry time of t seconds. The list of services in a directory is fresh to within t seconds because
any server that is still alive will renew its lease before its expiry time. If a server leaves, crashes, or becomes
disconnected from a lookup service, the latter will delete its entry as soon as the lease expires. Therefore an
unavailable server is registered only for a maximum of t seconds after it becomes unavailable. A client that,
nonetheless, obtains a stale server entry, will discover this when it tries to connect.

Computer Science & Information Technology

You might also like to view...

________ is an audio type developed by Apple for use on Macintosh computers

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which program was designed to eliminate the digital divide in the United States?

a. The Internet traffic program b. Net neutrality program c. Workplace monitoring program d. The Education Rate program

Computer Science & Information Technology