计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (25): 1-5.DOI: 10.3778/j.issn.1002-8331.2008.25.001

• 博士论坛 • 上一篇    下一篇

电子商务系统的性能评测与数据存取优化

覃雄派   

  1. 中国人民大学 信息学院,北京 100872
  • 收稿日期:2008-04-21 修回日期:2008-06-06 出版日期:2008-09-01 发布日期:2008-09-01
  • 通讯作者: 覃雄派

E-business systems’ benchmarking and database access optimization

QIN Xiong-pai   

  1. School of Information,Renmin University of China,Beijing 100872,China
  • Received:2008-04-21 Revised:2008-06-06 Online:2008-09-01 Published:2008-09-01
  • Contact: QIN Xiong-pai

摘要: 随着J2EE技术不断成熟,人们基于J2EE技术架构,建设电子商务系统。J2EE标准是一个开发的标准,用户可以从众多的J2EE服务器中进行选择,人们关心J2EE服务器的性能及其可扩展性。利用EcPerf测试套件对J2EE系统进行了性能测试,结合测试过程找出数据存取的性能瓶颈,并且通过实用的优化策略,提高系统性能。这些策略包括数据库查询处理、数据库系统的加锁模式、异步消息传递、以及运行环境的配置等。通过优化,系统性能有了大幅度的提升。

关键词: 电子商务系统, Java2平台企业版(J2EE), 性能测试, 数据存取优化

Abstract: With maturity of J2EE technology,people begin to build their E-business systems on J2EE architecture.J2EE is an open middleware standard,users can choose J2EE servers from many software vendors,and they begin to concern server’s performance and scalability.In this paper,the result with ECPerf benchmarking is presented.During being tested,database access bottleneck is identified.After the source of problem has been founded,some optimization actions are conducted,which are related to database transaction processing,database locking pattern,asynchronous message passing and running time configurations.With the mentioned optimization,the system’s performance increases considerably.

Key words: E-business systems, Java2 Platform Enterprise Edition(J2EE), benchmarking, database access optimization