a. Compare connectionless (UDP) and connection-oriented (TCP) communication for distributed computing. Use human interactions to differentiate between the two types of communications. In your response, include real world scenarios where one is
advantageous over the other.
Differences between Connectionless (UDP) and Connection-Oriented(TCP) are as follows:
1.In UDP programs can send packets to each other whereas in TCP the message is transmitted from one computer to another across the internet.
2.UDP does not have any Acknowledgement segments whereas TCP have Acknowledgement segments.
3.UDP does not have any fixed order whereas TCP have a specific order.
4.UDP's Header size is 8 Bytes whereas TCP's Header size is 20 Bytes.
5.UDP is light weighted whereas TCP is heavy weighted.
TCP uses three-way handshake method whereas UDP uses a simple transmission method without using handshake method.
In real - world scenarios, UDP is better than TCP because UDP is used in TFTP(Trivial File Transfer Protocol) whereas TCP is used in FTP(File Transfer Protocol). TFTP is used to transfer files from a client to a server or from a server to a client. FTP is used to copy or move files from one host to another. TFTP is faster, better, less complex and smaller when compared to FTP.
Comments
Leave a comment