2 - Modelling Flashcards

1
Q

Explain what a distributed system is?

A

As a set of processes. Each process does local computations, and they’re interconnected with commincation channels. (links) A network is assumed to be at least connected (there is a path between each two nodes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What components have to be defined for your network model?

A
  • Type of Network
  • Type of Process
  • Type of Timing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a correct node?

A

A node that always follows the protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain the fault-model of crash-stop

A

A node is faulty if it crashes. After crashing, it stops executing forever.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain the fault-model of crash-recovery

A

A node might crash, lose its internal state, and might resume executing sometime later.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain the fault-model of byzantine

A

A node can deviate arbitrarily from a protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is another name for the byzantine fault-model?

A

the fail-arbitrary fault model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the defenition of a complete network?

A

A direct link between any two processes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The is the definition of the state of a process

A

the set of values of all its variables (includes initial and terminal states)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The is the definition of the state of a channel

A

messages in transmission on the channel (aka not received, initially empty)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The is the definition of the global state

A

set of the process states + set of the channel states

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is another term for global state?

A

Configuration of a Distributed System

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a transition?

A

A state change in a DS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What triggers a transition?

A

events in processes (e1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Explain what reliable links are.

A

A message is received iff it is sent. Messages
may be reordered.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Explain what Fair-loss links are.

A

Messages may be lost, duplicated or reordered. If you keep trying, eventually messages arrive.

17
Q

Explain what Arbitrary links are.

A

a malicious adversary may interfere with messages. (eavesdrop, modify, drop, replay)

18
Q

What is an synonym for reliable links?

A

perfect link

19
Q

Explain how a system with Async. Com. can be simulated using a system with Sync. Com.

A

introduce for every link a process with a buffer that may delay messages

20
Q

Explain how a system with Sync. Com. can be simulated using a system with Async. Com.

A

Use explicit acknowledgements to force the sender to wait untill the message is received.

21
Q

Explain the basic properties of an Asynchronous network.

A
  1. message delays are finite but arbitrary
  2. the relative processor speeds may be unbounded
  3. there is no common clock
22
Q

Explain the basic properties of an Synchronous network.

A
  1. message delays are bounded
  2. the relative processor speeds are bounded
  3. there is a common clock
23
Q

What is the difference in the driver between sync and async networks?

A

Async networks are event driven. (sending receiving internal events trigger different code parts).
Sync networks are time driven; they loop over their tasks a finite number of time(s).

24
Q

Explain what partial synchrony is.

A

The system is asynchronous for some unknown but finite amount
of time, and synchronous afterwards.

25
Q

explain the expected message delay for partial synchronous systems.

A

There exist some time bound Δ and a special event GST (Global Stabilization Time) such that:
- The adversary must cause the GST event to eventually happen after some unknown finite time.
- Any message sent at time x must be delivered by time Δ + max(x,GST).

26
Q

skip

A

yessirr