logo

Distributed Systems: TCP, Mutex Algorithm, Digital Signature, Web Server and Web Service

Addressing theoretical issues in distributed systems, including contrasting UDP and TCP protocols, comparing multi-thread models, and justifying the choice of multi-thread model for a server implementation.

7 Pages1442 Words109 Views
   

Added on  2023-06-11

About This Document

This article covers various components of Distributed Systems like TCP, Mutex Algorithm, Digital Signature, Web Server and Web Service. It provides detailed answers and implementation designs for each component.

Distributed Systems: TCP, Mutex Algorithm, Digital Signature, Web Server and Web Service

Addressing theoretical issues in distributed systems, including contrasting UDP and TCP protocols, comparing multi-thread models, and justifying the choice of multi-thread model for a server implementation.

   Added on 2023-06-11

ShareRelated Documents
Distributed Systems: TCP, Mutex Algorithm, Digital Signature, Web Server and Web Service_1
Table of Contents
1. Question 1...........................................................................................................................................1
1.1 Answer 1.1..................................................................................................................................1
1.2 Answer for 1.2............................................................................................................................2
1.3 Design and Implementation of TCP.........................................................................................3
2. Question 2...........................................................................................................................................4
2.1 Digital Signature........................................................................................................................4
3. Question 3...........................................................................................................................................4
3.1 Design and Implementation of Mutex Algorithm....................................................................4
4. Question 4...........................................................................................................................................5
4.1 End Point....................................................................................................................................5
4.2 RPC style....................................................................................................................................5
4.3 Look Up......................................................................................................................................5
4.4 4. Use of wsimport tool..............................................................................................................6
4.5 Web server and Web Service....................................................................................................6
References..................................................................................................................................................6
Distributed Systems: TCP, Mutex Algorithm, Digital Signature, Web Server and Web Service_2
1. Question 1
1.1 Answer 1.1
TCP UDP
The benefits of TCP applications are less
transmission time and high unwavering
quality.
The application of UDP is that productive and
quick transmission like amusements. The
servers answer the small questions from
immense quantities of customers is the most
important stateless nature of UDP.
In TCP, there is unshakable certainty that the
information exchanged stays flawless and
lands in a similar request in which it was sent.
In UDP, there is no assurance that the
messages or bundles sent would reach by any
means.
TCP is substantial weight. It requires three
packages to set up a connection for
attachment, before any client information can
be sent. Blockage control unwavering quality
are handled by TCP
UDP is lightweight rather than TCP. So there
is no requesting of messages, no following
connections, and so on. It is a little transport
layer planned over IP.
Real Time Application Examples of TCP:
Web
IMAP/POP, getting mail
SMTP, sending letters
FTP, SSH, telnet
Real time examples of UDP:
Games that run based on local
broadcast algorithm. So that we can
run the application various machines.
Media streaming
Tunneling/VPN
1.2 Answer for 1.2
Thread per request Thread per connection
Thread per-request for scales superior to
thread per-connection.
Less efficient rather than Thread per request.
In the Thread per request for display, the
thread is just related while a demand is being
prepared. That for the most part implies that
the administration needs less threads to deal
HTTP connection requires altogether less
assets than a thread stack, in spite of the fact
that there is a point of confinement of 64K
open connections for every IP address,
Distributed Systems: TCP, Mutex Algorithm, Digital Signature, Web Server and Web Service_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
COMP247 Data Communications
|5
|794
|437

Quick and Web Traffic Question 2022
|8
|1506
|25

Fundamental of IT
|8
|1354
|314

Internet Working With Tcp Ip Protocol
|6
|996
|15

The Advanced Network Security
|17
|2110
|63

Network Address and Subnetting
|5
|813
|416