摘要
针对对象关系映射工具,提出一种性能优化方法,该方法使得对象关系映射工具通过统计在HTTP请求处理过程中加载的和实际使用的对象字段,在后续请求处理中仅加载必需的对象字段,从而提升应用程序持久层性能。将改进过的对象关系映射工具应用到开源电子商务示例应用程序XPETSTORE后,HTTP请求响应时间平均降低8%。
A kind of method to optimize performance of ORM tools is introduced. By analyzing the fields of objects loaded and used exactly in each HTTP request, the ORM tools only load the required fields to improve the performance of the persistence layer. The improved ORM tools are applied to XPETSTORE which is an E-commerce sample application. Test results indicate that the HTTP response time is reduced by an average of 8%.
出处
《计算机工程》
CAS
CSCD
北大核心
2009年第8期38-39,43,共3页
Computer Engineering
基金
国家科技支撑计划基金资助项目“数字媒体服务示范工程”(2006BAH02A22)
关键词
持久层
对象关系映射
关系数据库
性能优化
persistence layer
Object-Relational Mapping(ORM)
relational database
performance optimization