Open In App

Why does Netflix use TCP but not UDP for streaming video?

Last Updated : 24 Feb, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Overview :
In this article, we will discuss which technology Netflix uses for streaming online movies and web series on its platform. Netflix is an American subscription-based streaming service provider company. It is famous for streaming online videos, web series, and movies based on its subscription that its customers buy. There are two types of technologies used for online streaming services – UDP and TCP.

UDP – User Datagram Protocol :

  • User Datagram Protocol plays an important in computer networks in speeding up the efficiency of the network on websites that consume a lot of data.
  • UDP is less secure than TCP but on the other hand, it is very much faster.
  • UDP technically is independent of source and destination of the end-to-end transfer of data packets using the “three-way handshake technique.”
  • The main purpose of UDP is for fast and reliable internet applications usage and data transfer and doesn’t require data verification and security services.
  • UDP has less bandwidth and latency which makes it work even in terrific network connections.
  • When a large number of users the information at a particular time, so we need to manage the traffic and show responses to their queries, we use UDP in areas like gaming, video streaming, online meetings.

TCP – Transmission Control Protocol :

  • The basic use of TCP is to deliver data packets from the server to the target computer.
  • TCP works on the overhead of IP to ensure bulk internet connectivity and transfer them in the correct order and also they get delivered in the same order.
  • TCP lags in latency and data fluctuation on the data-consuming applications.
  • The most important feature of TCP is that it maintains its large focus on data security and verification options.
  • When UDP sends data packets process-to-process messages which are not secure, TCP uses host-to-host messaging to enable a safe and secure environmental network.
  • TCP is reliable for online streaming services as the customer’s data is completely secure and kept in safe hands.
  • TCP enables IP header in order to produce error-free and corrupt-less data in an ordered manner, so that receiver does not face any issue.

Why Netflix uses TCP but not UDP : 
Netflix uses TCP because TCP is much time-sensitive and does not require port forwarding. It helps to enable the full bandwidth of the network. We can compress more data at once in TCP and also reloaded data packets do not pose a problem. It also ensures higher video quality and fewer network congestion problems. TCP reduces buffering and Real-time streaming problems using an end-to-end connection. Online streaming services like Netflix focus on pre-fetching and buffering even before viewers watch it. TCP’s online congestion control tries to divert traffic by creating different links at the same time. It also ensures error recovery and problem identification in case of malware or failure by retransmission of data packets. The most important reason for using TCP is that it is very easy to monitor the bandwidth between the source and receiver and adapt the video quality of the streaming shows according to that.


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads