Amazon Interview Question

Different between UDP and TCP

Interview Answers

Anonymous

Oct 8, 2019

UDP is fast because it's connectionless oriented, TCP is reliable because it requires acknowledgement from nodes therefore no collision

2

Anonymous

Apr 13, 2020

TCP is connection oriented whereas UDP is connection less. Sequencing of data is done in TCP but not in UDP. Re transmission is possible in TCP unlike UDP. Because of many processes involved TCP is much more reliable than UDP and also because of same reason UDP is faster than TCP. Broadcast is not possible in TCP but is possible in UDP.

1