摘要: 针对目前缓存很大程度上只能由程序员根据经验设置,分析了.Net 的缓存调度的机制并利用Web 日志挖掘技术,提出了“缓存性价比”概念,并据此设计实现了一种自适应的缓存调度优化算法,即 SCCOA(self-adaptive cache schedule optimization algorithm)。该算法综合考虑了生成时间、占用空间、并发请求和局部、全局最优情况,能自适应地决定缓存调度,极大地提高Web 站点整体性能。
关键词:
缓存性价比;访问矩阵;调度;阈
Abstract: At present cache schedule mainly depends on the experience of the programmer. According to that, the running and schedulingmechanism of the cache on .Net platform is analyzed and the methods of data mining are used, and then a concept “the cache price/performanceratio” is introduced, based on that a SCCOA is designed and implemented. The algorithm concerns creation date and time, space, concurrent requestsetc, also it concerns the situation of local and global optimization. The advantage of the algorithm lies in its self-adaptation to decide the cachschedule, therefore the performance of the Web site is greatly improved.
Key words:
Cache price/performance ratio; Access matrix; Schedule; Threshold
吴学治,张 璟,李军怀,张晓丽. 一种基于日志挖掘的自适应缓存调度优化算法[J]. 计算机工程, 2006, 32(11): 116-118.
WU Xuezhi,ZHANG Jing,LI Junhuai,ZHANG Xiaoli. A Self-adaptive Cache Schedule Optimization Algorithm Based on Data Mining of Web Log[J]. Computer Engineering, 2006, 32(11): 116-118.