You're still doing well physically and emotionally in this long trip, mostly because you were trained...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You're still doing well physically and emotionally in this long trip, mostly because you were trained well at Illinois. You're about halfway through the trip to Saturn. As you're retiring to your room to sleep, you see both your cat Doraemon and dog Einstein walking together in the spaceship corridor. You call out to them, but they run away again. Trippy, Dude! Before you can chase them, you notice the spacecraft wobbling quite a bit, and you need to fix this. You trace the wobbling problem to the on-board storage system, and the fact that there is no leader election algorithm in there! Quick, you need to design one! The datacenter onboard (with hundreds of machines) uses a ring-based DHT (among the machines) with a Chord-like routing algorithm with each peer maintaining 3 ring successors and 3 ring predecessors, and Chord finger tables. This system needs to elect a leader that has the second-highest DHT Id in the system. i. ii. iii. iv. Design a leader election protocol that is efficient in that it uses very few messages (O(1) Chord DHT routing messages per participant). The only messages you can use are the Chord DHT routing messages (e.g., "route to ID X"). Argue briefly why your algorithm satisfies safety and liveness when finger tables are all correct and there are no failures during execution (formal proof not needed). What is the completion time and number of messages in your leader election protocol (both asymptotic)? Discuss briefly what might happen if failures occur during the election run, while finger tables stay inconsistent. You're still doing well physically and emotionally in this long trip, mostly because you were trained well at Illinois. You're about halfway through the trip to Saturn. As you're retiring to your room to sleep, you see both your cat Doraemon and dog Einstein walking together in the spaceship corridor. You call out to them, but they run away again. Trippy, Dude! Before you can chase them, you notice the spacecraft wobbling quite a bit, and you need to fix this. You trace the wobbling problem to the on-board storage system, and the fact that there is no leader election algorithm in there! Quick, you need to design one! The datacenter onboard (with hundreds of machines) uses a ring-based DHT (among the machines) with a Chord-like routing algorithm with each peer maintaining 3 ring successors and 3 ring predecessors, and Chord finger tables. This system needs to elect a leader that has the second-highest DHT Id in the system. i. ii. iii. iv. Design a leader election protocol that is efficient in that it uses very few messages (O(1) Chord DHT routing messages per participant). The only messages you can use are the Chord DHT routing messages (e.g., "route to ID X"). Argue briefly why your algorithm satisfies safety and liveness when finger tables are all correct and there are no failures during execution (formal proof not needed). What is the completion time and number of messages in your leader election protocol (both asymptotic)? Discuss briefly what might happen if failures occur during the election run, while finger tables stay inconsistent.
Expert Answer:
Answer rating: 100% (QA)
i Design a leader election protocol that is efficient in that it uses very few messages O1 Chord DHT routing messages per participant The only messages you can use are the Chord DHT routing messages e... View the full answer
Related Book For
Elementary Linear Algebra with Applications
ISBN: 978-0471669593
9th edition
Authors: Howard Anton, Chris Rorres
Posted Date:
Students also viewed these mathematics questions
-
Prepare journal entries using general ledger control accounts only Anticipated expenditures and encumbrances are 112 million Anticipated revenues are 87 million Anticipated transfers to other funds...
-
The unadjusted trial balance of the general ledger of Antonio's Small Appliance Repair Service on 30 June 2019 is presented below (ignore GST). ANTONIO'S SMALL APPLIANCE REPAIR SERVICE Trial Balance...
-
55. Joyful Company provided the following balances at the end of the current year: Wasting asset, at cost Accumulated depletion Share Capital Capital liquidated Retained earnings Depletion based on...
-
A trainee in a medical lab will be released to work on her own when her results agree with those of an experienced worker at the 95% confidence level. Results for a blood urea nitrogen analysis are...
-
Interview the owner/manager of a sole proprietorship or a general partnership. What characteristics of that business form led the owner to choose it? Does he or she ever contemplate changing the form...
-
Shaffner Corporation produces three products, Alpha, Beta, and Gamma. Alpha and Gamma are joint products; Beta is a by-product of Alpha. No joint cost is to be allocated to the by-product. The...
-
While auditing Trowbridge Corporation's June 30, 1999 financial statements, you become aware of the following controls or procedures over Trowbridge's inventory control and inventory accounting...
-
a chain of sandwich shops. The company is considering two possible expansion plans. Plan A would open eight smaller shops at a cost of $ 8,440,000. Expected annual net cash inflows are $ 1,600,000...
-
1. From the perspective of the marketer, when do wants become demands? 2. From the perspective of consumer behavior, when do needs become wants? 3) An audiophile who has invested $60,000 in a...
-
For the month of December 2014, Ranger Corporations records show the following information: Cash received on accounts receivable $35,000 Cash sales 30,000 Accounts receivable, December 1, 2014 80,000...
-
Now calculate a different statistic: the ratio of conditional proportions of death between Gilbert and non-Gilbert shifts. This ratio is called a relative risk. You should have gotten a value 6.336...
-
6. Starting from the definitions of the position vector 7 = r,, unit vector i, cos fix + sini,, and unit vector ie sini + cosi, in polar coordinates, derive (i) the expression for the velocity v =...
-
A capacitor with capacitance C has been connected to a resistor R and an ideal battery with voltage V as shown in the figure. The capacitor is fully charged so no current flows before the switch is...
-
3. Write the equations for the sum of the forces acting in the x and y directions for the junction of the cords in the diagram below. T2 60 3 kg T1 Bonus: Find the values of T and T.
-
Consider the energy levels for a hydrogen atom, listed in the table below. Each energy represents what is required for the negatively charged electron to escape. For example, if the electron were in...
-
The figure shows a mass spectrometer where a negatively charged ion (q = -2e, m = 4.25x10-26 kg) moves between the plates of the velocity selector and then enters the deflection chamber. The electric...
-
How might emerging forms of surveillance capitalism, characterized by the commodification of personal data and the monetization of surveillance technologies, transform the dynamics of social control...
-
A non-charmed baryon has strangeness S = 2 and electric charge Q = 0. What are the possible values of its isospin I and of its third component I z ? What is it usually called if I = 1/2?
-
Show that the following sets with the given operations fail to be vector spaces by identifying all axioms that fail to hold. (a) The set of all triples of real numbers with the standard vector...
-
What restrictions must be placed on x and y for the following matrices to be invertible? (a) (b) (c)
-
Prove: If S is a basis for a vector space V, then for any vectors u and v in V and any scalar k, the following relationships hold: (ku)S = k(u)S
-
What information do CPAs request from a financial institution on the Standard Form to Confirm Account Balance Information with Financial Institutions?
-
Why was the Hochfelder v. Ernst decision considered a "victory" for the accounting profession?
-
The CPA firm of Hanson and Brown was expanding very rapidly. Consequently, it hired several staff assistants, including James Small. Subsequently, the partners of the firm became dissatisfied with...
Study smarter with the SolutionInn App