摘要
为解决数字机务系统中的多个页面访问大量重复数据所带来的数据库压力,通过分析系统规模,以及数据模型,提出了一种适合系统的缓存策略,即单机缓存策略,它是通过静态Java Map实现的,详细介绍了该缓存策略的实现,该缓存策略以内存换取速度,性能最高,代价最小。结果表明,该缓存策略有效地减少了网络中冗余数据的重复传输,极大地降低了数据库的访问量,提高了响应速度。
To reduce the pressure of database caused by multiple page viewing a lot of duplicate data in the digital maintenance system,a suitable caching strategy-single caching strategy was proposed for the system when the size of the system and the data model were analyzed.It was realized through static Java Map.The realization of this caching strategy was described in detail.It attains speed at the cost of memory and has maximum performance in minimum cost.The result shows it reduces transmission of redundant data in network effectively,greatly reduces the amount of database access and improves the response speed.
出处
《武汉理工大学学报(信息与管理工程版)》
CAS
2014年第4期465-468,共4页
Journal of Wuhan University of Technology:Information & Management Engineering
基金
国家高技术研究发展计划(863计划)基金资助项目(2011AA110202)