异步并发的HTTP下载器工具
首发时间:2018-01-19
摘要:随着互联网高速发展,网民的下载需求也不断增多,例如下载一个电影、一首歌曲等等。然而由于不同网站服务器的性能不同,导致了使用网页直接下载的方式效率低下,并且很不稳定,尤其是针对大文件的下载。一旦下载失败又要重新下载,费时费力。因此对高效、稳定、支持断点续传的下载技术的研究和实现,能解决广大网民日益增长的下载需求,具有一定的实用价值。本文的下载器实现使用线程池与多线程、异步非阻塞及I/O复用技术来保证HTTP下载器的高效性和稳定性。
For information in English, please click here
Asynchronized Parallel HTTP Downloader Tool
Abstract:With the rapid development of the Intenet, there are more and more needs arise for downloading files, such as downloading a movie or a music. However, due to the different performance of different website server, downloading directly using browser may be inefficient and unstable, especially when downloading large files. Once download failed we often need to try again from the beginning, which is time-consuming and inefficient. Therefore it is of practical value to research and implement an efficient and stable downloader based on HTTP, which can solve the ever-increasing downloading needs of Internet users. The main technology such as multi-threads and thread pool, asynchronized non-blocking I/O and multiplexing are used in this paper to ensure the efficiency and stability of the HTTP Downloader.
Keywords: Downloader I/O Mutiplexing Multi-Thread Asynchronized Task
基金:
引用
No.****
同行评议
勘误表
异步并发的HTTP下载器工具
评论
全部评论0/1000