本文介绍了UDP vs TCP,它快多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
用于一般协议消息交换,可以容忍一些丢包.UDP 比 TCP 效率高多少?
For general protocol message exchange, which can tolerate some packet loss. How much more efficient is UDP over TCP?
推荐答案
UDP 比 TCP 快,原因很简单,因为它的不存在确认包 (ACK) 允许连续的数据包流,而不是 TCP 确认一组数据包,使用 TCP 窗口大小和往返时间 (RTT) 计算得出.
UDP is faster than TCP, and the simple reason is because its non-existent acknowledge packet (ACK) that permits a continuous packet stream, instead of TCP that acknowledges a set of packets, calculated by using the TCP window size and round-trip time (RTT).
更多信息,我推荐简单但非常容易理解的Skullbox解释(TCP vs. UDP)一个>
For more information, I recommend the simple, but very comprehensible Skullbox explanation (TCP vs. UDP)
这篇关于UDP vs TCP,它快多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!