arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.15839cs.NI
收藏

Swarm:采用对等网络系统实现高成本效益的视频内容分发

Swarm: Cost-Efficient Video Content Distribution with a Peer-to-Peer System

Dehui Wei, Jiao Zhang, Haozhe Li, Zhichen Xue, Yajie Peng, Xiaofei Pang, Rui Han, Yan Ma, Jialin Li

AI总结:

针对集中式CDN成本过高的问题,字节跳动推出混合视频分发系统Swarm,结合CDN稳健性与P2P成本优势,通过集中控制平面和多路径传输保障性能,已稳定运行多年,降本效果显著且性能与传统CDN相当。

摘要:

随着字节跳动业务扩张,与集中式内容分发网络(CDN)相关的巨额基础设施支出已使内容分发成本高得令人难以承受。为此,我们开始探索对等(P2P)网络,将其作为缓解不断攀升的内容分发成本的可行方案。然而,由于对等设备的多样性和分散性,P2P的去中心化特性往往会带来性能挑战。本研究推出了Swarm,这是字节跳动创新的视频流混合系统。Swarm将传统CDN的稳健性与去中心化P2P网络的成本效益无缝结合,其主要目标是在最小化流量支出的同时,为用户提供可靠的流媒体质量。为实现这一目标,Swarm采用了由跟踪器集群组成的集中式控制平面,管理包含大量边缘剩余资源的数据平面。跟踪器还负责将客户端映射到服务器。为解决各对等服务器之间的性能差异问题,Swarm采用了我们专有的多路径并行传输方法,用于客户端与对等服务器之间的通信。Swarm已稳定运行六年,目前管理着超过十万台对等服务器,每天为近亿用户提供服务,每年为公司节省数亿元人民币。实验结果证实,在大幅降低成本的同时,Swarm的性能与传统CDN相当。

英文摘要:

As ByteDance's business expands, the substantial infrastructure expenses associated with centralized Content Delivery Network (CDN) networks have rendered content distribution costs prohibitively high. In response, we embarked on exploring a peer-to-peer (P2P) network as a promising solution to alleviate the escalating costs of content distribution. However, the decentralized nature of P2P often introduces performance challenges, given the diversity and dispersion of peer devices. This study introduces Swarm, ByteDance's innovative hybrid system for video streaming. Swarm seamlessly integrates the robustness of a conventional CDN with the cost-efficiency of a decentralized P2P network. Its primary aim is to provide users with reliable streaming quality while minimizing traffic expenses. To achieve this, Swarm employs a centralized control plane comprised of a tracker cluster, overseeing a data plane with numerous edge residual resources. The tracker also takes on the responsibility of mapping clients to servers. Addressing the performance disparities among individual peer servers, Swarm utilizes our proprietary multipath parallel transmission method for communication between clients and peer servers. Operating stably for six years, Swarm now manages over a hundred thousand peer servers, serving nearly a hundred million users daily and saving the company hundreds of millions of RMB annually. Experimental results affirm that, while significantly cutting costs, Swarm performs on par with traditional CDNs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑