论文部分内容阅读
WWW提供了方便的手段来访问远程信息资源,对于Web用户而言,衡量Web服务质量的一个重要指标就是检索信息所花费的时间。缩短检索时间的途径很多,此文主要介绍通过设置缓存机制,降低用户对资源访问请求次数,达到缩短用户直观感觉上的检索时间的方法。并讨论一种基于C/S结构的缓存模型,提出了新的缓存替换算法,综合考虑了文档长度,网络负载等参数,实现了缓存模型的优化。经过实验验证,该算法优于目前的缓存替换算法。
WWW provides a convenient means of accessing remote information resources. For Web users, an important indicator of the quality of Web services is the time it takes to retrieve information. There are many ways to shorten the search time. This article mainly introduces how to reduce the number of requests for resource access by setting the caching mechanism and shorten the retrieval time of users’ intuition. And a cache model based on C / S structure is discussed. A new cache replacement algorithm is proposed. Considering parameters such as document length and network load, the cache model is optimized. After experimental verification, the algorithm is superior to the current cache replacement algorithm.