0% found this document useful (0 votes)
54 views

Parallel and Distributed Computing: Lecture - 02 Week - 01

This document contains notes from a lecture on parallel and distributed computing. It discusses synchronous vs asynchronous communication, including persistent vs transient communication. Examples of different types of communication are provided, such as persistent asynchronous, persistent synchronous, transient asynchronous, and various types of transient synchronous communication. Distributed system communication terminology and concepts like receipt-based, delivery-based, and response-based communication are also covered.

Uploaded by

Ali Raza Mughal
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

Parallel and Distributed Computing: Lecture - 02 Week - 01

This document contains notes from a lecture on parallel and distributed computing. It discusses synchronous vs asynchronous communication, including persistent vs transient communication. Examples of different types of communication are provided, such as persistent asynchronous, persistent synchronous, transient asynchronous, and various types of transient synchronous communication. Distributed system communication terminology and concepts like receipt-based, delivery-based, and response-based communication are also covered.

Uploaded by

Ali Raza Mughal
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

1

Lahore Garrison University


Parallel and Distributed
Computing
Session Fall-2020

Lecture – 02 Week – 01
INSTRUCTOR: MUHAMMAD ARSALAN RAZA
2

Lahore Garrison University


NAME: EMAIL: PHONE NUMBER: VISITING HOURS:
MUHAMMAD ARSALAN RAZA [email protected] 0333-7843180 (PRIMARY) MON-FRIDAY:(12:30PM-3:00PM)
K 0321-4069289 THURSDAY: (9:30AM-3:00PM)
3
Preamble

 Distributed Systems (Goals and Types)

 Process, Thread and implications

 Parallel computing and Multithreaded Servers

 Synchronous and Asynchronous Communication

 Middleware protocols

 Persistence and Synchronicity in communication

Lahore Garrison University


4
Lesson Plan

 Asynchronous communication

 Synchronous vs. Asynchronous communication

 DS Communication Terminology

Lahore Garrison University


5
Synchronous and Asynchronous
Communication

 Asynchronous Communications:

A sender continues with other work immediately upon sending a message to the receiver.

 Synchronous Communications:

A sender blocks, waiting for a reply from the receiver before doing any other work. (This tends to be the
default model for RPC/RMI technologies).

Lahore Garrison University


6
DS Communications Terminology

 Persistent Communications:

 Once sent, the “sender” can stop executing. The “receiver” need not be operational at this time – the
communications system buffers the message as required (until it can be delivered).

 Transient Communications:

 The message is only stored as long as the “sender” and “receiver” are executing. If problems occur, the
message is simply discarded …

Lahore Garrison University


7
Synchronous vs. Asynchronous
Communications

a) Persistent asynchronous communication.

Lahore Garrison University


b) Persistent synchronous communication.
8
Synchronous vs. Asynchronous
Communications (Cont.)

c) Transient asynchronous communication.


Lahore Garrison University d) Transient synchronous communication (Receipt-based).
9
Synchronous vs. Asynchronous
Communications (Cont.)

e) Transient synchronous communication at message delivery (Delivery-based).


Lahore Garrison University
f) Transient synchronous communication (Response-based).
10
Lesson Review

 DS Communication Terminology

 Synchronous and Asynchronous Communication

 Persistent vs. transient communication

 Receipt based, Delivery based, and Response based communication

Lahore Garrison University


11
Next Lesson Preview

 Introduction to transactions
 The Transaction Model
 A.C.I.D
 Types of Transactions
 Nested Transactions vs. Distributed Transactions
 Private Workspace
 Writeahead Log
 Concurrency Control
 Serializability

Lahore Garrison University


12
References

 To cover this topic, different reference material has been used for consultation.

 Textbook:

Distributed Systems: Principles and Paradigms, A. S. Tanenbaum and M. V. Steen,


Prentice Hall, 2nd Edition, 2007.

Distributed and Cloud Computing: Clusters, Grids, Clouds, and the Future Internet, K.
Hwang, J. Dongarra and GC. C. Fox, Elsevier, 1st Ed.

 Google Search Engine

Lahore Garrison University

You might also like