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

  Essay - major depression and bipolar disorder

Select one of the paired disorders provided in the list below, and research them both- Major depression and bipolar disorder and Schizophrenia and dissociative identity disorder

  How to pretend to be psychic

If you wanted to pretend to be psychic, you could do a "cold reading" on someone you do not know. Suppose that you are doing this for a 25-year-old woman.

  Describe the vital role of police leaders

Describe the vital role of police leaders, especially first-line supervisors, in preventing and addressing problems of patrol officer ethics.What are the specific rights that police officers possess, and what are the areas in which they have limit..

  Discuss hawaiian language policy and the courts reading

When did the missionaries arrive in Hawai'i from New England. Who employed them. What was the first written Hawaiian Language document

  Computer technology changed nature of intellectual property

How has computer technology changed the nature of intellectual property? What is the central message or thesis of the essays by Tenner, Moore Howard and Gabriel

  What processes do have implemented that ensure execution

Research shows us that 70% of CEO failures came not as poor strategy but poor execution of implementation of strategies. What processes do you have implemented that will ensure successful implementation / execution/ and hard wiring of processes?

  Why do you think you have the instinctive reaction

How did you initially react to this "unconventional" photo of a model showing a belly pooch? Did you think it is unattractive, a great realistic image.

  Prepare a presentation on pros and cons of social networking

Prepare a presentation on The pros and cons of social networking. Presentation that looks into the many pros and cons of social networking and then make recommendations of how learners can protect themselves against the negatives raised.

  What minimum qualifications judges must have

Watch "Dad's Anger Uncovers More Judge Accountability Issues" and read Justice For Sale then use the following questions to engage in conversation with your fellow students. What minimum qualifications judges must have?  Should there be minimum qua..

  How do these researchers view the nature or nurture issue

In light of the now established Affordable Care Act (Obama Care), how do you think Kohlberg's moral stages of 5 and 6 would apply to the decision and the reasoning for the expansion of medical coverage for all American citizen?

  Explain positive collaborative working relationship

practice to foster a positive collaborative working relationship. Describe the situation, the strategy and the effectiveness of the strategy used

  How the organization applies corporate social responsibility

Identify how the organization applies corporate social responsibility to the business. Evaluate the influence that corporate social responsibility has on the organization.

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