SlideShare a Scribd company logo
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Socket
UDP : Sending process
TCP : producer
Client
UDP : Receiver process
TCP : Consumer
Server
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Process 1
Process 2
nonblocking receive issued
execution flow
suspended period
Synchronous Send and
Asynchronous Receive
blocking send issued
Scenario A
transparent acknowledgement
provided by the IPC facility
Process A
Process B
interprocess communication
execution flow
process blocked
Event diagram for a protocol
request 1
response 1
response2
request 2
time
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Close the socket
args[0] is a message
args[1] is s DNS name of the server
How to receive
a message
How to send
a message
Message converted in array of bytes
IP address of the host
Socket bound to the server port 6789
Receive the msg
Sends back the same
message to client
Close the socket
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Distribution system presentation of chapter 4(distributed systems   concepts and design)
Socket bound to hostname
and server port 7896
Input & output streams
Close the socket
Send message & wait
for reply (write to out
put stream & read fr
om input stream
// java code continues on the next slide
Server socket
on port 7896
Server listens for
Connect requests
When a connect request arrives, server makes a new thread in which
to communicate with the client
Thread waits to read a msg
and writes it back
Close the socket
Socket’s input and
output streams
Distribution system presentation of chapter 4(distributed systems   concepts and design)

More Related Content

PDF
Intake 38 11
PPTX
Remote method invocation (RMI)
PDF
Analyzing network packets Using Wireshark
PPTX
Remote procedure call on client server computing
PPTX
Http request smuggling
PDF
Remote Procedure Call (RPC) Server creation semantics & call semantics
PPT
Smtp
PPT
Eshcol tech solutions pvt ltd
Intake 38 11
Remote method invocation (RMI)
Analyzing network packets Using Wireshark
Remote procedure call on client server computing
Http request smuggling
Remote Procedure Call (RPC) Server creation semantics & call semantics
Smtp
Eshcol tech solutions pvt ltd

What's hot (20)

PPTX
RPC: Remote procedure call
PDF
Practical Byzantine Fault Tolerance
PDF
How (un)secure is SSL/TLS?
PPTX
PDF
Socket Programming using Java
PPTX
Three way handshake
PDF
80133823 backdor-nectcat-through-smb
PPTX
Trasport layer
PPTX
Week8 lec1-bscs1
DOC
Remote procedure calls
PPTX
Week8 lec2-bscs1
PDF
Introduction to TCP
PPTX
RPC communication,thread and processes
PPT
Networking chapter VII
PDF
gRPC in Go
PPT
Socket programming
PPTX
Week5 lec2-bscs1
PDF
Netcat 101 by-mahesh-beema
PPTX
#1 (TCPvs. UDP)
RPC: Remote procedure call
Practical Byzantine Fault Tolerance
How (un)secure is SSL/TLS?
Socket Programming using Java
Three way handshake
80133823 backdor-nectcat-through-smb
Trasport layer
Week8 lec1-bscs1
Remote procedure calls
Week8 lec2-bscs1
Introduction to TCP
RPC communication,thread and processes
Networking chapter VII
gRPC in Go
Socket programming
Week5 lec2-bscs1
Netcat 101 by-mahesh-beema
#1 (TCPvs. UDP)
Ad

Similar to Distribution system presentation of chapter 4(distributed systems concepts and design) (20)

PPTX
Java socket programming
PPTX
Distributed Computing - API for Internet Protocols
PPTX
Socket programming
PPTX
Socket programming in Java (PPTX)
PPTX
Java Network Programming.pptx
PPT
Socket Programming in Java.ppt yeh haii
PDF
JavaSockets-Session10 New York university.pdf
PDF
PPT
Unit 2 DSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDS.ppt
PDF
CHAPTER 24.pdfhehbebbebebbebbeebbebbebeb
PPTX
Distributed Systems inter process communication
PPT
Socket programming in C
PPTX
EN-04 (1).pptx
PPTX
Socket & Server Socket
PDF
sockets SMTP Bmsce ppt information science and engineering
PPTX
Basics of Socket Programming using python
PPT
Networking.ppt(client/server, socket) uses in program
PPT
Network programming in Java
PPTX
5_6278455688045789623.pptx
DOCX
Mail Server Project Report
Java socket programming
Distributed Computing - API for Internet Protocols
Socket programming
Socket programming in Java (PPTX)
Java Network Programming.pptx
Socket Programming in Java.ppt yeh haii
JavaSockets-Session10 New York university.pdf
Unit 2 DSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDS.ppt
CHAPTER 24.pdfhehbebbebebbebbeebbebbebeb
Distributed Systems inter process communication
Socket programming in C
EN-04 (1).pptx
Socket & Server Socket
sockets SMTP Bmsce ppt information science and engineering
Basics of Socket Programming using python
Networking.ppt(client/server, socket) uses in program
Network programming in Java
5_6278455688045789623.pptx
Mail Server Project Report
Ad

More from hyunyoung Lee (20)

PDF
(Presentation)NLP Pretraining models based on deeplearning -BERT, GPT, and BART
PDF
(Paper Seminar) Cross-lingual_language_model_pretraining
PDF
(Paper Seminar detailed version) BART: Denoising Sequence-to-Sequence Pre-tra...
PDF
(Paper Seminar short version) BART: Denoising Sequence-to-Sequence Pre-traini...
PDF
(Paper seminar)Learned in Translation: Contextualized Word Vectors
PDF
(Paper seminar)Retrofitting word vector to semantic lexicons
PDF
(Paper seminar)real-time personalization using embedding for search ranking a...
PDF
Neural machine translation inspired binary code similarity comparison beyond ...
PDF
Language grounding and never-ending language learning
PDF
Glove global vectors for word representation
PDF
Spam text message filtering by using sen2 vec and feedforward neural network
PDF
Word embedding method of sms messages for spam message filtering
PDF
Memory Networks
PDF
Word embeddings
PDF
How to use tensorflow
PDF
Natural language processing open seminar For Tensorflow usage
PDF
large-scale and language-oblivious code authorship identification
PDF
Word2Vec
PDF
NLTK practice with nltk book
PDF
Skip gram and cbow
(Presentation)NLP Pretraining models based on deeplearning -BERT, GPT, and BART
(Paper Seminar) Cross-lingual_language_model_pretraining
(Paper Seminar detailed version) BART: Denoising Sequence-to-Sequence Pre-tra...
(Paper Seminar short version) BART: Denoising Sequence-to-Sequence Pre-traini...
(Paper seminar)Learned in Translation: Contextualized Word Vectors
(Paper seminar)Retrofitting word vector to semantic lexicons
(Paper seminar)real-time personalization using embedding for search ranking a...
Neural machine translation inspired binary code similarity comparison beyond ...
Language grounding and never-ending language learning
Glove global vectors for word representation
Spam text message filtering by using sen2 vec and feedforward neural network
Word embedding method of sms messages for spam message filtering
Memory Networks
Word embeddings
How to use tensorflow
Natural language processing open seminar For Tensorflow usage
large-scale and language-oblivious code authorship identification
Word2Vec
NLTK practice with nltk book
Skip gram and cbow

Recently uploaded (20)

PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
Online Work Permit System for Fast Permit Processing
PDF
System and Network Administraation Chapter 3
PPT
Introduction Database Management System for Course Database
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
AI in Product Development-omnex systems
PDF
Digital Strategies for Manufacturing Companies
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
history of c programming in notes for students .pptx
PDF
System and Network Administration Chapter 2
PPTX
Transform Your Business with a Software ERP System
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
Introduction to Artificial Intelligence
Softaken Excel to vCard Converter Software.pdf
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
How Creative Agencies Leverage Project Management Software.pdf
Online Work Permit System for Fast Permit Processing
System and Network Administraation Chapter 3
Introduction Database Management System for Course Database
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PTS Company Brochure 2025 (1).pdf.......
AI in Product Development-omnex systems
Digital Strategies for Manufacturing Companies
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Odoo Companies in India – Driving Business Transformation.pdf
Odoo POS Development Services by CandidRoot Solutions
history of c programming in notes for students .pptx
System and Network Administration Chapter 2
Transform Your Business with a Software ERP System
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
ISO 45001 Occupational Health and Safety Management System
Introduction to Artificial Intelligence

Distribution system presentation of chapter 4(distributed systems concepts and design)

  • 4. UDP : Sending process TCP : producer Client UDP : Receiver process TCP : Consumer Server
  • 9. Process 1 Process 2 nonblocking receive issued execution flow suspended period Synchronous Send and Asynchronous Receive blocking send issued Scenario A transparent acknowledgement provided by the IPC facility
  • 10. Process A Process B interprocess communication execution flow process blocked Event diagram for a protocol request 1 response 1 response2 request 2 time
  • 22. Close the socket args[0] is a message args[1] is s DNS name of the server How to receive a message How to send a message Message converted in array of bytes IP address of the host
  • 23. Socket bound to the server port 6789 Receive the msg Sends back the same message to client Close the socket
  • 30. Socket bound to hostname and server port 7896 Input & output streams Close the socket Send message & wait for reply (write to out put stream & read fr om input stream
  • 31. // java code continues on the next slide Server socket on port 7896 Server listens for Connect requests When a connect request arrives, server makes a new thread in which to communicate with the client
  • 32. Thread waits to read a msg and writes it back Close the socket Socket’s input and output streams