Font Size: a A A

The Research And Implementation Of Performance Optimization Technique On Java EE Gateway Website

Posted on:2012-08-19Degree:MasterType:Thesis
Country:ChinaCandidate:G Q ZhangFull Text:PDF
GTID:2248330395485665Subject:Computer technology
Abstract/Summary:PDF Full Text Request
As an important information platform of government and foreign enterprises, Portal system has become an important component of informational construction. The performance optimization of Portal is the key to improving the stability of system and the amount of users’access. This paper introduces the technology of page’s static optimization, cache optimization and index query optimization etc., and achieves page view with few of or without access to the background database, in order to achieve the purpose of improving system performance.This paper puts forward on the modeling method of entity inheritance, adopts the strategy design model--"one table per class hierarchy" from the performance point of view, which can significantly improve the query performance of the system. For page static problems, this paper, based on the Velocity template engine method, proposes to generate static pages of articles directly before generating dynamic pages without having access to database. For the Homepage static problem, it proposes using URLConnection to realize IO literacy to generate modular static page, output the module dynamic pages to static page and use SSI technology to make home page static and modular.As to the dynamic pages with parameters, this paper puts forward on file-level cache optimization technique based on OsCache, making these dynamic pages be cached to disk directly, without direct access to database, which reduces the response time and improves the performance. For the core entity class, adopting the memory cache tactics and Hibernate secondary cache mechanism, putting EHCache as the cache realized products to optimize the system performance. For the performance optimization problems when users query articles needed through the form, it proposes the index query method based on Lucene and Compass, indexing and storing the important attributes of articles and the category of articles and giving feedback to the users; Finally realizing an effect of giving query tips, makes the system more perfect.By testing the performance of the system through the Jmeter (the performance-test tool), the superiority of the performance optimization technique this paper proposed is verified. The optimization technology has been implemented in portal system, and the performance is stable and reliable.
Keywords/Search Tags:Portal, Performance optimization, Page static, Cache optimization, Index optimization
PDF Full Text Request
Related items