CS2005 - Lecture 4 - Distributed Systems

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/22

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

23 Terms

1
New cards

Distributed System

A collection of loosely coupled nodes interconnected by a communication network

2
New cards

Nodes in a Distributed System

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

3
New cards

Advantages of Distributed Systems

Scalability, Speedup, High performance, Openness, Reliability, Flexibility

4
New cards

Disadvantages of Distributed Systems

Difficult troubleshooting, Less software support, High network infrastructure costs, Security issues

5
New cards

Resource Sharing

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

6
New cards

Computation Speedup

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

7
New cards

Reliability

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

8
New cards

Communication

Users at various sites can exchange information at different levels

9
New cards

Process in a Distributed System

A program being executed

10
New cards

How Processes Communicate

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

11
New cards

Client

The process that initiates the communication

12
New cards

Server

The process that waits to be contacted to begin the session

13
New cards

Sockets

Where a client and server process communicate with each other by reading from and writing to

14
New cards

Two Socket Types

UDP and TCP

15
New cards

UDP (User Datagram Protocol)

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

16
New cards

TCP (Transmission Control Protocol)

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

17
New cards

Echo Server Network Application

Simple client server program that sends and received echoes from client to server

18
New cards

Single Client Knock-Knock Network Application

Client-server program that implements the knock-knock jokes

19
New cards

RPCs (Remote Procedure Calls)

Allows a client to call a procedure on a remote host

20
New cards

Pipes

Acts as a channel allowing two processes to communicate

21
New cards

Ordinary Pipes

Allow communication in standard producer-consumer style

22
New cards

How Ordinary Pipes Work

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

23
New cards

Named Pipes

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