2 - Modelling Flashcards
Explain what a distributed system is?
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)
What components have to be defined for your network model?
- Type of Network
- Type of Process
- Type of Timing
What is a correct node?
A node that always follows the protocol
Explain the fault-model of crash-stop
A node is faulty if it crashes. After crashing, it stops executing forever.
Explain the fault-model of crash-recovery
A node might crash, lose its internal state, and might resume executing sometime later.
Explain the fault-model of byzantine
A node can deviate arbitrarily from a protocol
What is another name for the byzantine fault-model?
the fail-arbitrary fault model
What is the defenition of a complete network?
A direct link between any two processes.
The is the definition of the state of a process
the set of values of all its variables (includes initial and terminal states)
The is the definition of the state of a channel
messages in transmission on the channel (aka not received, initially empty)
The is the definition of the global state
set of the process states + set of the channel states
What is another term for global state?
Configuration of a Distributed System
What is a transition?
A state change in a DS
What triggers a transition?
events in processes (e1)
Explain what reliable links are.
A message is received iff it is sent. Messages
may be reordered.