Amazon interview question

What is the difference between TCP and UDP? Difference between latency and bandwidth?

Interview Answer

Anonymous

14 Dec 2019

TCP or Transmission Control Protocol and UDP or User Datagram Protocol. TCP is connection oriented – once a connection is established, data can be sent bidirectional. UDP is a simpler, connection less Internet protocol. Multiple messages are sent as packets in chunks using UDP. Bandwidth is the amount of data that can be transferred per second. Latency is delay. Latency is how long it takes data to travel between its source and destination, measured in milliseconds

1