System models for DS (2) Flashcards

1
Q

What are the different types of system models?

A
Physical models
(hardware composition)
Architectural models
(Software/ system architecture)
Fundamental models
(formal description of common properties in architectural models)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are common elements in architectural models?

A

Communicating entities

Communication paradigms

Roles and responsibilities

Placement strategies

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

What are examples of communicating entities in architectural models?

A

(distributed) Objects
(distributed) Components
web services

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

What are examples of communication paradigms in architectural models?

A

IPC
Remote invocation
Indirect communication

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

How does caching in placement strategies affect the system?

A

Moving the resource closer to the user by having proxy server, reduces load on main server

Server cache reduces latency if fetching from the DB is not needed.

Disadvantage is that cached data might be outdated.

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

What are the two types of interaction model in distributed systems? How do they differ?

A

Asyncrhonous and synchonous systems.

In synchronous systems there is known lower and upper bound to the execution and transmission time as well as amount of clock drift.
In async systems it could be arbitrarily long.

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

What are some regular architectural patterns?

A

Layered architecture

Tiered architecture

Microservices

Thin clients

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

What are microservices?

A

A service is deployed on a simple VM/ execution environment.

Each microservice is:

  • Responsible for a simple feature.
  • Reusable and standalone.
  • Autonomous
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are thin clients?

A

An architectural pattern where you try to move complexity from client to server. Server does the processing and sends results to client.

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

What types of middleware solutions are there in layered architecture models?

A
Distributed objects
Distributed components
Pub/sub systems
Message queues
Web services
P2P
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the most common types of fundamental models?

A

Interaction model.

Failure model.

Security model.

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

What is the purpose of fundamental models?

A

Make all relevant assumptions about the system explicit and find out what is feasible under the given assumptions.

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

What is an interaction model?

A

A model focused on the processes, messages and coordination of the system. It must reflect that messages could be delayed, and that delay limits coordination and maintenance of global time.

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

Why are failure models useful?

A

The define in how a failure might occur in the system. This gives a basis for understanding the effect of failures and can be used to construct a new service that hides the faulty behaviour.

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

What are the three main types of failure types?

A
Omission failures
(Process or channel fails perform actions it's supposed to do)
Arbitrary failures
(Process or channel may exhibit arbitrary behaviour when failing)
Timing failures
(Relevant in synchronous systems. e.g. responses not available to clients in specified timing interval)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a fail-stop failure?

A

Process halts and remains halted. Other processes may detect this state.

17
Q

What is a crash failure?

A

Process halts and remains halted. Other processes may not be able to detect this state.

18
Q

What is an omission failure?

A

A message inserted in an outgoing message buffer never arrives in the other end’s incoming buffer.

19
Q

what is a send omission failure?

A

A process completes a send- operation, but the message is not put into the outgoing message buffer.

20
Q

what is receive omission failure?

A

A message is put into a process’s incoming message buffer, but the process does not receive it

21
Q

For what kind of systems would using an arbitrary failure model be useful.

A

Systems that we want to be “ultra- reliable” e.g. systems in air planes, systems in nuclear power plants.

22
Q

For what kind of systems would using a timing failure model be useful?

A

Synchronous distributed systems. e.g. control and monitoring systems, multimedia systems.