Distributed Systems Flashcards

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

Reliability
Scalability
Flexibility
Speedup
Openness
High performance

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

Disadvantages of Distributed Systems

A

Difficult troubleshooting
Less software support
High network infrastructure costs
Security issues

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

Distributed systems: 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

Distributed systems: Computation speedup

A

Sub-computations can be distributed among the various sites and run simultaneously

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

Distributed systems: 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

Distributed systems: 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

Using inter-process communication if within same host. Exchange messages across network if in different end systems

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 a client and server process communicate with each other by reading from and writing to

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 client server program that sends and received echoes from client to server

18
Q

What is a single client knock-knock network application?

A

Client-server program that implements the knock-knock jokes

19
Q

RPCs (Remote Procedure Calls)

A

RPCs allow a client to call a procedure on a remote host

20
Q

What are pipes?

A

Acts as a channel allowing two processes to communicate

21
Q

Ordinary pipes

A

Allow communication in standard producer-consumer style

22
Q

How do ordinary pipes work?

A

Producer write to one end and consumer reads from other end. They are unidirectional and require parent-child relationship

23
Q

What are names pipes?

A

Several processes can use the named pipe for communication and allows inter-process communication over a network. They are bidirectional