Distributed Systems Flashcards

(23 cards)

1
Q

What is a distributed system?

A

A collection of loosely coupled nodes interconnected by a communication network

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

What are nodes in a distributed system?

A

An individual computer or server that is part of a larger system

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

Advantages of Distributed Systems

A

Scalability
Speedup
High performance
Openness
Reliability
Flexibility

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

Disadvantages of Distributed Systems

A

Security issues
High network infrastructure costs
Less software support
Difficult troubleshooting

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

Resource sharing

A

A user at one site may be able to use the resources available at another

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

Computation speedup

A

Breaking a big task into smaller pieces and running them at the same time on different computers to finish faster

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

Reliability

A

If one site fails in a distributed system, the remaining sites can continue operating

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

Communication

A

Users at various sites can exchange information at different levels

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

What is a process in a distributed system?

A

A program being executed

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

How do processes communicate?

A

If on same computer, they talk through shared memory or pipes.
if on different computers, they send messages over network.

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

What is a client?

A

The process that initiates the communication

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

What is a server?

A

The process that waits to be contacted to begin the session

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

What are sockets?

A

Where programs plug in to talk to each other over a network

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

What are the two socket types?

A

UDP and TCP

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

UDP (User Datagram Protocol)

A

Is connectionless, unreliable where group of bytes (datagram) is sent through the socket

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

TCP (Transmission Control Protocol)

A

Is connection-oriented, reliable where a stream of bytes is sent through the socket

17
Q

What is an Echo server network application?

A

Simple server that sends and receives echoes from client to server

18
Q

What is a single client knock-knock network application?

A

Client-server program that tells “knock-knock jokes” to each other over a network

19
Q

RPCs (Remote Procedure Calls)

A

Lets a program run a function on another computer as if it were local

20
Q

What are pipes?

A

A way for two programs to send and receive data between them

21
Q

Ordinary pipes

A

A one-way connection where one program sends data and another reads it

22
Q

How do ordinary pipes work?

A

One program writes into the pipes; the other reads from it. Only works one way and usually between related programs (like parent and child)

23
Q

What are named pipes?

A

Like ordinary pipes with a name, so unrelated programs (even on different machines) can use them to send messages both ways