|
Distributed Computing ![]() This website demonstrates using wikis as teaching and learning tool. The course instructor is also happy to share the teaching materials here with those who find it readable. |
Tutorial /
Concurrency ControlA Distributed Computing Tutorial by Steven Choy
Concurrency Control of Transactions - 2PLConsider two transactions T and U as defined in the following. T: y = read(k); x = read(i); write(j,22); U: write(i,33); write(j,44);
Concurrency Control of Transactions - OCCConsider optimistic concurrency control as applied to two transactions T and U as defined in the following. T: x = read(i); write(j,66); U: write(i,77); write(j,88); Suppose the transactions T and U are active at the same time as one another. Describe the outcome in each of the following cases. Note that in each case your description must include whether transactions T and U commit or abort and why. Remember that writes are not carried out until after validation.
Concurrency Control of Transactions
Deadlock detection and prevention in distributed systemsWait-die and wound-wait are two practical algorithms for distributed deadlock prevention.
Suggested answers are available here. |