• Keine Ergebnisse gefunden

Task 2: As Fast as it Gets

N/A
N/A
Protected

Academic year: 2021

Aktie "Task 2: As Fast as it Gets"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Exercise 10: Consensus

Task 1: More Value(s)

In this task, we have a look at multivalued consensus, which is like binary consensus, except that inputs and outputs are from a larger domain [O] for some 2< O∈N. Our goal is an efficient reduction to binary consensus.

a) Give a 1-round algorithm with the following property. If all correct nodes have the same input, each node outputs this value. Otherwise, there is a single valueo∈[O]

such that all nodes output eitheroor 0.

b) We replace all inputs with the output computed in a). Then we use binary consensus to decide whether to use output 0 or outputo. What is the problem with this naive approach?

c) Fix the problem from b) in a way that still guarantees that ifall correct nodes had opinionoafter a), then the binary consensus routine will decide in favor ofo. Exploit that if this is not the case, it is perfectly fine to output 0!

d) Plug these results together to obtain the desired reduction. Show that it costsO(1) rounds with messages of sizeO(logO).

e*) Iff n, this reduction costsω(f n) messages. Can you adapt the solution so that O(f n) messages (andO(f nlogO) bits) are sent by correct nodes in total?

Task 2: As Fast as it Gets

Consider the task of binary consensus with up tof < ncrash faults.

a) Describe and prove correct an (f + 1)-round algorithm using 1-bit broadcasts for communication.

Task 3*: Timing Issues

In this task, the goal is to transfer synchronous algorithms to the bounded-delay model with faults. Therefore, the setting is the same as in Chapter 4 of the lecture.

a) Use the Srikanth-Toueg algorithm tosimulate synchronous execution of some given R-round synchronous algorithm inO(Rd) time, assuming that the execution is trig- gered by events at the individual nodes that are at most O(Rd) time apart (for a known bound).

b) Can you formalize what the term “simulates” here means precisely?

c) Things get a bit messy with randomization, as there typically are additional model assumptions needed for randomization to be useful. Figure out what these might be and whether this poses a problem!

d) Agree on your findings in the TA session!

Referenzen

ÄHNLICHE DOKUMENTE

Throughout, R denotes a ring, and, unless otherwise stated, all rings are assumed to be associative rings with 1, and modules are assumed to be left

[r]

For this example the edge AB is not equivalent to AC or AD etc., so that the Line Graph L 4 with vertices labelled ABCD in that order is not the same as that labelled CABD, though it

Luiz informed Albuquerque &#34;that the king of Narsinga was getting himself ready with .five thousand men on foot and two thousand on horse, for an expedition

I am especially indebted to three teachers and scholars, all lately of Columbia University: Sir George Sansom, under whom I was privileged to study and who first suggested the

number 5. Turkish elli). The Turkish word bes and its IE. fimf, Germ, fünf, Sanskrit pancan, Av. penj) have a great phonetical similarity0. It is

It shifts the way that anthropologists process information, manage data, form arguments, and circulate the

Das Zweite ist, dass mir im Umgang mit den Schülern im Laufe meiner 20-jährigen Berufstätigkeit doch be- wusster wird, dass beispielsweise die Anzahl der Schüler, die auch