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.
You might also like to view...
What Strings are stored in array words after the following code executes?
``` 1 String words[] = { "dance", "walk", "talking", "eat" }; 2 3 for ( int counter = 0; counter <= words.length - 1; counter++ ) 4 { 5 if ( words[ counter ].endsWith( "e" ) ) 6 { 7 words[ counter ] = words[ counter ].substring( 8 0, words[ counter ].length() - 1 ); 9 } 10 11 if ( !( words[ counter ].endsWith( "ing" ) ) ) 12 { 13 words[ counter ] += "ing"; 14 } 15 16 } // end for loop ```
Which openSUSE password is invalid?
A. cantsee! B. Cantsea C. can'tC!! D. CANTSEE
The most common type of LAN found today is Ethernet
Indicate whether the statement is true or false
?Hypertext Markup language (HTML) version _____ added interactive elements, including web forms.
A. ?3.0 B. ?2.0 C. ?5.0 D. ?4.01