Assignment - Some Theoretical Issues in Distributed Systems

Assignment Help Other Subject
Reference no: EM132384978

Assignment - Some Theoretical Issues in Distributed Systems

In the assignment, you are to address some theoretical issues in the area of distributed systems or distributed computing. You will need to demonstrate your understanding of these theoretical issues or competence to apply these theoretical issues. These theoretical issues have been introduced by this unit through the textbook, weekly lectures or tutorials/labs. You will need to review these learning materials to address the following questions and prepare to do personal research if necessary.

Question 1 -

Address the following issues that are related to replication and fault tolerance.

1. Explain the difference between the passive replication model and active replication model.

2. Explain the difference between the crash of a server and the Byzantine failure of a server.

Assume the active replication and passive replication models are available for fault tolerance.

3. If s of s+1 servers crash, explain whether the passive or active model is still fault-tolerant.

4. If s of 2s+1 servers have byzantine faults, explain whether the passive or active model is still fault-tolerant.

Question 2 -

Recall the internet Domain Name System (DNS), which is detailed in the Week 7 unit contents and practised by Week 8 and Week 9 lab tasks, and answer the following questions.

1. Explain the hierarchical structure/arrangement of the DNS servers.

2. If the Recursive Server-Controlled Navigation is used, explain the workflow when a client sends a name resolution request.

3. If you program/implement a DNS server in Java, what multi-threading strategy will you use? Justify your answer.

Question 3 -

Address the following issues that are related to security in distributed systems.

1. What is a public key and a private key? Given a public key, is it possible to derive/calculate its private key?

2. Assume that Alice's public key is available on a web site, describe the simplest way that Bob sends a secrete message to Alice by using Alice's public key.

3. There is a potential problem caused by the simple use of public key in step (2), describe the problem.

4. Describe why digital certificate can solve the problem in step (2).

Question 4 -

Read the following scenario and address the following issues that are related to transaction and concurrency control.

Assume that objects a1, a2, and a3 are managed by a server, which provides two operations to operate the objects.

read(a): returns the value of object a

write(a, v): assigns the value v to object a

Assume that the following two concurrent transactions T and U are performed on these objects.

T: read(a2); read(a1); write(a2, a2-25); read(a3); write(a1, a1+52)

U: read(a3); read(a2); write(a2, a2+33); write(a3, a3-26)

Assume that the original values of a1, a2, and a3 are 111, 106 and 125 respectively. Answer the following questions based on the above scenario.

1. If there is no concurrency control, transactions T and U may perform the following interleaving operations on objects a1, a2 and a3. What problem can be caused by the operations? Justify your answer.

T: read(a2); U: read(a3); U: read(a2); T: read(a1); T: write(a2, a2-25); T: read (a3); U: write(a2, a2+33); T: write(a1, a1+52); U: write(a3, a3-26)

2. What requirement must be satisfied in order to avoid the problem?

3. When the above requirement in question (1) is satisfied, what would be the correct values of a1, a2 and a3 after T and U commit?

4. Give an example of possible interleaving operations that can produce the correct values of a1, a2 and a3. Note: no marks is given to this question if the operations are not interleaved.

5. The following is an example to use exclusive locks to solve the problem in question (1). Give your explanation why it can solve the problem.

1374_figure.png

6. We rearrange T's operations as follows and keep U's operations unchanged.

T: read(a2); read(a1); read (a3); write(a2, a2-25); write(a1, a1+52)

If we use the locks as below, what problem would happen?

806_figure1.png

7. What will be the solution to the problem in question (6)? Give at least two different methods.

You will need to address the above issues in a Microsoft Word document.

Verified Expert

The report illustrates the difference between passive and active replication model based on various factors such as process, mode, model, mechanism for handling failures etc. It also includes the difference between crash of server and failure of server, DNS server hierarchy, working principle of name resolution request in Recursive server controlled Navigation, implementation of DNS with Multi threading, public and private key cryptography, example for interleaving operations with out concurrency control.

Reference no: EM132384978

Questions Cloud

Determine the p value from regression analysis : Determine the P value from regression analysis with a t stat of 2.399155 and 17 degrees of freedom. Calculate step by step by hand. No software to be used.
Find the cutoff for the shortest of all males : The distribution of the heights of adult males in the U.S. is approximately normally distributed with a mean of 68 inches and a standard deviation of 3 inches.
Identify the type of qualitative research approach used : Identify the type of qualitative research approach used and explain how the researchers implemented the design. Analyze alignment among the theoretical.
What is the difference between lan and wan : What is the difference between a LAN and a WAN? Why are standards bodies essential in networking and the Internet? What are the major network topologies?
Assignment - Some Theoretical Issues in Distributed Systems : Assignment - Some Theoretical Issues in Distributed Systems. Explain the difference between the passive replication model and active replication model
Know that the probability of receiving : The Magazine Mass Marketing Company has received 12 entries in its latest sweepstakes. They know that the probability of receiving a magazine subscription
Determine how race affects students education : 10-12 pages Critical Review Paper. Course is Race, Class & Gender in Human Development. The Critical Review Paper will be approximately 10-12 pages long.
Calculate the value of the test statistic : Two-tail -value is At a.05 level of significance, what is your conclusion? We null hypothesis. sample of 16 items from population 1 has a sample variance
Complete the trust cash book and trial balance : CPP40307 Certificate IV in Property Services Real Estate Assignment Help, TAFE NSW Australia,You are required to Correctly complete the Trust Cash Book.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd