Consider distributed optimistic concurrency control in which each server performs local backward validation sequentially (that is, with only one transaction in the validate and update phase at one time. Describe the possible outcomes when the two transactions attempt to commit. What difference does it make if the servers use parallel validation?
What will be an ideal response?
At server X, T precedes U. At server Y, U precedes T. These are not serially equivalent because there are Read/ Write conflicts.
T starts validation at server X and passes, but is not yet committed. It requests validation at server Y. If U has not yet started validation, Y can validate T. Then U validates after T (at both). Similarly for T after U.
T starts validation at server X and passes, but is not yet committed. It requests validation at server Y. If U has started validation, T will be blocked. When U requests validation at X, it will be blocked too. So there is a deadlock.
If parallel validation is used, T and U can be validated (in different orders) at the two servers, which is wrong.
You might also like to view...
All calendar items start as events.
Answer the following statement true (T) or false (F)
You can draw a circle using the free-form snipping tool
Indicate whether the statement is true or false
Display the ________ dialog box to add list items to a Drop-Down List content control
A) Drop-Down Properties B) Content Properties C) Content Control Properties D) Drop-Down
Critical Thinking QuestionsCase 1Your are considering implementing Cloud storage for your small business. Can you name a Cloud storage provider other than Dropbox and ZumoDrive? a.Windows Azurec.Google Driveb.Windows SkyDrived.Google Docs
What will be an ideal response?