节点文献

流媒体服务器迁移技术研究

The Study of the Request Migration for Streaming Server

【作者】 吴伟

【导师】 郑烇; 杨坚;

【作者基本信息】 中国科学技术大学 , 网络传播系统与控制, 2009, 硕士

【摘要】 近十几年来,计算机网络技术得到迅猛的发展,流媒体传输技术在各行业领域得以广泛的应用和发展,如视频会议、视频点播、电话和远程教育等,流媒体已经从实验室走进人们的日常生活中。集群式流媒体系统能够用相对较为廉价的方式提供较强的可扩展性和良好的吞吐性能,给流媒体用户提供更好更优质的服务。在集群流媒体系统中,由于影片的流行度有差异,用户对流媒体的访问存在一定的倾斜度,存储不同类型影片的各服务器节点负载往往达不到合理的分布,流行度高的影片所在的服务器接收到的请求数远远大于流行度低的影片所在的服务器,服务迁移技术是解决这一问题的有效手段之一。服务迁移技术,即把负载高的服务器在线请求实时迁移到低负载的服务器上,通过它可以重新改变系统各节点的负载分布,使各节点之间达到一定的负载均衡度,优化负载资源配置,从而提高系统服务质量。本文针对当今集群流媒体系统中的负载均衡和实时迁移需求,并结合集群流媒体系统自身的特殊要求,实现了两类不同流行度影片服务请求的迁移技术,并成功的应用在国家“863”项目《多节点协作的集群流媒体服务器系统设计》中,为本项目所需要的实时迁移技术提出了完整的解决方案。对于热门影片的请求迁移过程,分为迁移“走”出源服务器和迁移“到”目标服务器两个步骤,文章先详细分析了这两步骤的细节设计过程,再用性能分析和实验结果证明了此方法的可行性和实用性。较热门文件的请求迁移而言,冷门文件的请求迁移过程实现相对复杂,不仅涵盖了迁移“走”和迁移“到”两个基本流程,还包括数据流的缓存机制。缓存在实现上是个难题,本文提出一种实用的缓存方法,同时给出数据流的缓存和发送时参数修改的规则,确保迁移前后数据流参数的一致性,并用实验结果证明了其正确性。本文另一项工作是对迁移算法的研究,调研和分析了现有随即早期迁移REM算法,并针对其不足之处,给出了一种基于负载均衡的请求迁移算法。仿真结果证明,基于负载均衡的请求迁移算法,能有效的提高系统负载均衡度,优化了各节点之间的资源分配,从而提高了平均请求接收率,改进了系统的服务能力。本文的创新点在于迁移实现的实用可靠和透明性,不需要修改客户端。这种灵活的迁移技术,为先进的服务器系统优化方法的提出和应用提供了巨大的空间。

【Abstract】 Over the past ten years, with the rapid development of computer network, streaming media technology has been playing an important role in various industries, such as video conferencing, video on demand, tele-education and so on. Streaming media technology has applied successfully in daily life from the laboratory.Streaming media cluster system can provide better scalability and good throughput performance in a way of relatively low cost and streaming media users can enjoy better service. However, in streaming media cluster system, because of the different popularity of streaming media files, users visit the various streaming media files in an inclined way. Thus the servers storaging different types of meida receive quite different load from each other. Servers with hot media copies receive much more client requests than other servers and are most likely to be overloaded. Service migration technology is one of effective solutions to this problem. Through service migration, we can move some on-line requests from the high loaded servers to low loaded servers. Service migration can redistribute the system load, achieve a certain degree of load balance, optimize the load allocation of resources and enhance the quality of service.This paper aim to the demand for load balancing and real-time migration in today’s streaming media cluster system, with consideration of the special requirements of the system itself, and realize the request migration technology in two types of media files. What is more, it has successfully used in the country“863”project,“multi-node streaming media cluster server system design”, and gives a complete solution to the demand for real-time migration in the project. The process of request migration of hot media can be divided into two steps: migrating from the source server and migrating to the target sever. This paper first analyses the detailed design of the two steps, and then does experiments to prove the feasibility and practicality of the method proposed. Compared with the request migration of the hot media files, the request migration for the unpopular file is more complicated. The process for the unpopular file covers not only the two steps mentioned above, but also the data stream caching mechanisms. Caching is a problem in the realization. This article presents a practical method for caching, including changing the parameters when caching and sending data stream, and the design of the caching file format. Experiment results show that the data stream maintains consistency between the migration operation.Another important work of this paper is the study of request migration algorithm. Base on the existing REM (Random Early Migration) algorithm, and analysis of its deficiency, this paper proposes a new request migration algorithm based on load balancing. Simulation results show that the algorithm based on load balancing can effectively improve system load balancing, optimize the load allocation of resources between nodes, thereby increase the average rate of requests accepted, and improve the service capacity of the system.The innovation of this paper is the practicality and reliability of the migration technology proposed, without needing to modify the client code. Such a flexible migration technology provides a great space to optimization in advanced streaming server system.

节点文献中: 

本文链接的文献网络图示:

本文的引文网络