Distributed Systems Flashcards

1
Q

What is a distributed system?

A

system in which both data and processing are divided between one or more computers connected over a network

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

What are the features with distributed systems

A

a distributed system seems like a local program since its accessed the same way.

you can share data and resources such as printers, CPU, which makes it more accessible

easy to expand since you can add more ressources without the user can see it.

components have to coordinate without using a global clock

always available with independent failure of components. So if one part fails in a distributed system, another part might take over or other parts will still be available.

Scalability

maintainable: parts can be updated easily and changed

think of this like cloud and services etc all that stuff.

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

What are some security considerations in distributed systems?

A

because its over a network the normal network risks.

who are allowed to access which ressources? admins and users.

firewalls can help against attacks, but not for the above mentioned reason.

hacks like man in the middle and injections.

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

What is middleware?

A

it is software that sits between two applications. It offers a single interface to both the systems and allows the systems to work together via the middleware

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

What is the advantage with middleware?

A

it is like an interface you can program up against. So you can have systems writing in different languages, different teams to work on them and also it can work like a contract.

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

What is CORBA?

A

Common Object Request Broker Architecture

Using CORBA, application components can communicate with one another no matter where they are located, or who has designed them.

It creates a common language between two systems.

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

What is IDL?

A

Interface Description Languages

IDL is the compiler which translates the language each system is talking - it does the mapping.

A typical interface definition specifies the signature of each operation including its name, the type and mode of transmission of its parameters, return values, and the exceptions it may raise during execution16

where Corba (orb) objects are the translated code that sits at each program and talks to the program. Then IDL is the middleware between the orbs.

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

which types of distributed systems are there?

A

Cloud

Parallel CPU architectures and supercomputers

Distributed information systems for enterprise
applications

Other models like e.g. peer-to-peer

broker

microservices

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

What is the encapsulation principle?

A

That the requester or provider (server) should not have to make assumptions on each other.

ensures independence between interface and implementation

allows a system to be modified by “plug and play”,

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

What is the client-server architectural style model?

A

Very common model. It is when a server provides services and clients may request the server which will send responses.

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

What is the peer-to-peer architectural style model?

A

there is no distinction between a user and a server (client / server) all entities have the same role. So each entity can request or respond to other entities.

said in another way: all participating processes run the same program and offer the same set of interfaces to each other

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

what is the rationale behind the peer-to-peer model?

A

Network and computing resources owned by users of a service could also be used to support that service

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

what is the layered model?

A

its a model where it has different layers that all communicate to the layers around it. usually a hardware model.

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