本文介绍了可以改善QUIC流以进行文件传输吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我了解,QUIC可以在同一UDP通道上复用多个流,包括相同的密钥交换.

If I understand, QUIC exists to multiplex multiple streams over the same UDP channel, including same key exchange.

QUIC的VoIP等传输模式也不可靠.>: //datatracker.ietf.org/doc/draft-pauly-quic-datagram/

QUIC also has an unreliable transport mode for VoIP, etc. https://datatracker.ietf.org/doc/draft-pauly-quic-datagram/

是否有人认为QUIC的文件"传输模式使用了这种不可靠模式或另一种次要"可靠性模式?文件传输比QUIC流所支持的有序交付少得多吗?

Has anyone considered a "file" transfer mode for QUIC that uses either this unreliable mode or another "less" reliable mode? Would file transfer benefit much from even less ordered delivery than a QUIC stream supports?

有一个Bittorrent变种 µTP ( BEP-29 )的存在部分是为了减少对住宅互联网的干扰,但支持bittorrent惯常的高度无序交付.

There is a bittorrent variant µTP (BEP-29) which exists partially to interfere less with residential internet, but supports bittorrent's usual highly unordered delivery.

我想通过接受来自多个发件人的数据包大小的块,QUIC的文件传输协议也可能像比特币一样,但这是另一个主题.

I suppose a file transfer protocol for QUIC could also be bittorren-like by accepting packet sized chunks from multiple senders, but that's another topic.

推荐答案

无序,不可靠的文件传输协议的一个优点是,它们不需要为保持随连接BDP增长的重发缓冲区而付出的内存成本. .这些缓冲区的大小不正确会导致高BDP链路上的大量性能损失.

One advantage of unordered, unreliable file transfer protocols is that they do not need to pay the memory cost of keeping a retransmit buffer that grows with the BDP of the connection. Incorrect sizing of those buffers can lead to significant performance losses on high-BDP links.

两端使用用于文件的随机访问持久性存储,可以在应用程序级别处理重新排序和重新传输.

The random-access persistent storage used for the files at each end allows the reordering and retransmission to be handled on the application level.

缺少行头阻塞也可能导致IO利用率略有提高.

The absence of head-of-line blocking may also lead to marginally better IO utilization.

但是这些问题都是极端情况.对于在一个大洲内批量传输单个大文件,QUIC的可靠流模式可能会在吞吐量达到最佳状态时执行.

But those issues are edge-cases. For bulk-transferring a single large file within one continent the reliable stream mode of QUIC will probably perform near the throughput optimum.

这篇关于可以改善QUIC流以进行文件传输吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-25 13:03