UDP vs TCP,速度快多少? [英] UDP vs TCP, how much faster is it?
本文介绍了UDP vs TCP,速度快多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
用于一般协议消息交换,可以忍受某些数据包丢失. UDP over 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与UDP)
For more information, I recommend the simple, but very comprehensible Skullbox explanation (TCP vs. UDP)
这篇关于UDP vs TCP,速度快多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文