摘要
为了研究Java应用程序与缓存系统的相互独立性,结合Java应用程序的缓存特征,提出了一种基于Java的可移植缓存模型PCM-JA.借助Java技术的平台无关性,PCM-JA型可以移植到不同的平台.并且为Java应用程序提供了一个通用的方法来创建、访问、更新和删除Cache中的条目,介绍了该模型的五个核心模块及其功能实现,研究了具体的缓存策略,结合现有缓存算法给出了相应的算法设计.实验结果表明,提出的缓存模型具有较好的性能.
To research the Mutual independence between Java application and cache systems,Combined with the characteristics of the cache for Java applications,PCM-JA,aportable Cache-model is proposed.With the Platformindependence of Java technology,PCM-JA can be moved to different platforms.A common way to create,access,update and remove entries from Cache is offered by this model.Five core modules and their function realization is discussed.A specific Cache-strategy is studied,with the existing caching algorithm,the related algorithm is designed.Experimental results shows that the proposed PCM-J model have a good performance.
引文
[1]邓磊,陈志刚,黄键,等.基于AOP的智能Web缓存框架[J].计算机工程,2008,34(22):283-285.
[2]张艳,石磊,卫琳.Web缓存优化模型研究[J].计算机工程,2009,35(8):85-87.
[3]黄敏,蔡志刚.缓存替换算法研究综述[J].计算机科学,2006,33(B12):191-193.
[4]林永旺,张大江,钱华林.Web缓存的一种新的替换算法[J].软件学报,2001,12(11):1710-1715.
[5]PAN Peng,LU Yansheng.Monitoring nearest neighbor queries with cache strategies[J].Journal of zhejiang university science,2007,8(4):529-537.