The use of UDP is controversial for streaming multimedia application, because UDP lacks any form of congestion control. While congestion control is needed to prevent the network from entering a congested state in which very little useful work is done. If everyone were to start streaming high bit-rate video without using any congestion control, there would be so much packet overflow at routers that no one would see anything. So the lack of congestion control in UDP is a potentially serious problem. In short its faster but has no error detection.
The most popular example of UDP protocol usage is video streaming such as Youtube, Twitch, etc.
No, UDP (User Datagram Protocol) does not guarantee the delivery of packets. It is a connectionless protocol that sends packets without establishing a connection or ensuring that they arrive at their destination. This means packets can be lost, duplicated, or delivered out of order. UDP is often used in applications where speed is critical and some data loss is acceptable, such as in streaming media or online gaming.
Data travels in packets. In a TCP connection, every packet must reach the destination before the transmission will be complete. This means that it goes back to resend packets should any be dropped. UDP does not do this. This makes it ideal for real time applications that cannot viably stop. These include VoIP and video streaming. [Above answer is right, UDP is used in the situations where partial or little data loss is bearable such as VoIP, Video Streaming, you might have experienced it many times when browsing youtube videos. Many of peer to peer applications use this service. It doesn't guarantee the loss-free transmission of data, as TCP does. It does use to provide the current user facility to push as much data as he can on the link, without caring about others. Most of today's applications which used to use UDP has now been transferring to TCP. A good example of it is bit-torrent ]
UDP can be used in many applications for transport, not just a single application. UDP is commonly used when speed is more important than reliability in the transfer.
UDP
TCPv No lossv Retransmits all lost messagesv Potentially large latencyUDPv Potentially unbounded lossv Does no retransmissionv Minimal latencyà Neither of them is what you want for streaming applicationsSolutionv UDP witho Congestion controlo Reliability control (error protection)v How?o Keep UDP throughput ~ to TCPo By using FEP (forward error protection) and ARQ (automatic repeat request)v Advantageo Can recover from loss in time independent of link RTTo Unequal protection: more important data is better protectedo Pre-roll buffers to cope with increased delay for streaming applicationsv Disadvantageo Pay overheado Increased delayo Poor quality for real-time applications
UDP
Answer B UDP (UDP is preferred over TCP foe real time applications such as videoconferences. UDP and TCP operate at the transport layer). Page 554
The User Datagram Protocol (UDP) is suited for streaming video over IP due to its low overhead and lack of acknowledgments. Unlike Transmission Control Protocol (TCP), UDP allows for faster data transmission by sending packets without ensuring their delivery or order, which is acceptable in video streaming where some data loss is tolerable. This results in a smoother and more continuous playback experience.
UDP
UDP
UDP does not have the overhead of providing a reliable connection. That makes it more appropriate for applications where quick responses are more important than a guaranteed delivery of every packet.