Essay sample library > UDP (User Datagram Protocol)

UDP (User Datagram Protocol)

2023-04-06 18:54:58

UDP (User Datagram Protocol) is an alternative communication protocol of Transmission Control Protocol (TCP), which is mainly used to establish low latency and loss tolerance connections between applications on the Internet.

Both UDP and TCP operate over the Internet Protocol (IP), sometimes called UDP / IP or TCP / IP. However, there is an important difference between the two.

For UDP enabling interprocess communication, TCP supports inter - host communication. TCP sends a single packet. This is considered a reliable transmission medium and UDP sends messages called datagrams. Datagrams are considered best-effort communication mode.

In addition, if TCP provides error and flow control, such a mechanism is not supported in UDP. UDP is considered a connectionless protocol because it does not need to create a virtual circuit before data transfer takes place.

UDP provides two services that are not offered at the IP layer. It provides a port number to help distinguish between different user requests and optionally provides a checksum function to verify that the data has not been compromised.

TCP is the main protocol for many Internet connections because it can break up a large data set into individual packets, inspect lost packets, retransmit them, and reassemble the packets in the correct order . However, these additional services compensate for additional data overhead and latency (called latency)

In contrast, UDP sends only packets, which reduces bandwidth overhead and latency. In UDP, packets may have different paths between sender and receiver, so some packets may be lost or received in the wrong order.

UDP is an ideal protocol for network applications where perceived latency is important, such as games and voice and video communications, and may suffer data loss without adversely affecting perceived quality. In some cases, there is some loss, but forward error correction techniques are used to improve audio and video quality.

UDP can also be used for applications that require lossless data transfer if the application is configured to retransmit lost packets and manage the process of properly scheduling incoming packets. Compared to TCP, this method helps to increase the data transfer rate of large files.

In the Open Systems Interconnection (OSI) communication model, UDP (such as TCP) is at Layer 4 (the transport layer). UDP cooperates with higher-level protocols that are useful for managing data transfer services, such as the Search for Simple File Transfer Protocol (TFTP), Real Time Streaming Protocol (RTSP), Simple Network Protocol (SNP), and Domain Name System (DNS) I will.

The User Datagram Protocol has attributes that are useful for applications that can accept lost data.

Since packets can be received by dropping them in a different order from sending, it is suitable for real-time applications that may require delay.

It can be used to connect to many clients and does not require real time error correction such as games, audio or video conferencing, streaming media etc.

The TCP / IP network model is represented by the UDP (User Datagram Protocol) transport protocol. The computer application uses UDP to send messages (called datagrams in this case) to other hosts over the IP network without requiring the requisite preliminary message for selecting a special data transfer protocol I can do it. Each new round is organized every 5 milliseconds (5 x 10 -3 seconds). There is only one transaction pool created per round. Make a list of all the used network nodes. Assign a random number (evaluation) to each node. Based on these numbers, the list of nodes is sorted in descending order. The first node in this list becomes the primary network node. The following nodes in the list become reliable nodes and their number is calculated according to the following algorithm. If the total number of nodes equals 10, 50% of them will be trusted nodes (but not less than 3)

User Datagram Protocol (UDP) is a low-reliability stateless transport layer protocol that communicates via messages called datagrams. Datagram delivery is not guaranteed and there is no error checking mechanism. It has general usage in fields such as video conferencing. Do you remember saying Java EE is just a specification? The Java EE application server provides a number of resources necessary to implement the Java EE specification and to build and deploy web applications. The reference implementation of the Java EE specification is Oracle 's GlassFish Application Server. Furthermore, it is important to understand that not all Java EE application servers implement a full range of platforms. For example, Apache Tomcat (which is undoubtedly the most popular) is primarily an implementation of a servlet container.