什么是 UDP 发送速率?
与 TCP 的受监控方法相反,UDP 是否会在所有数据包可用时立即发送它们?
谢谢。
Does UDP send all packets as soon as they become available as opposed to TCP's monitored approach?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
TCP 有拥塞控制,UDP 没有,因为它是无连接的。
但您的问题涉及多个问题:发送消息是否会立即送达?并非总是如此,在高性能网络硬件上,您会发现中断合并会导致操作系统延迟将消息传递到硬件,以优化高吞吐量情况。这里有一些进一步的解释:
TCP has congestion control, UDP does not as it is connection-less.
But your question covers multiple issues: does sending a message cause it to be immediately delivered? Not always, on high performance networking hardware you will find Interrupt Coalescing which causes the operating system to delay passing messages to the hardware in order to optimise high throughput situations. Some further explanation here:
http://blogs.informatica.com/perspectives/index.php/2009/06/10/how-does-interrupt-coalescing-affect-low-latency-high-performance-messaging/