Font Size: a A A

The Analysis And Application Of High Performance Web Framewrork

Posted on:2013-10-01Degree:MasterType:Thesis
Country:ChinaCandidate:Y Y YangFull Text:PDF
GTID:2248330374498988Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of web technology, more and more applications transfer to the web platform. The interaction of the web platform has become more complex, and the web platform based on the traditional web framework has been unable to meet existing needs in terms of throughput, latency, number of concurrent connections, in order to enable better system interoperability, web optimization technology rapid developed.The current web optimization techniques are mainly divided into two aspects, in the server side, the lightweight web servers subdivide the different functions of the web server, and take the decide to do the function respectively. A web site integrated by multiple lightweight web servers can realize a good data distribution and load balancing, thereby enhancing the site’s throughput and the number of concurrent connections. The other hand, as technologies such as Ajax appears, the page dynamic effects, interactive features, and even dynamic data R/W are transferred to static files, therefore, the share of static files in web data streams is increasing, that leading to increased number of http requests and the read of the file search path become too much. So that create a connection and wait for the response will take a much longer time. The optimization of the static files can improve web page load times, reduce delays. Integrate the above two optimization ideas and applied to the web site, can play a significant role to improve site performance.In this paper, we work in the following aspects:1、Analyze the web optimization techniques. Based on the above two optimization idea, we put forward a high-performance web framework, starting from the entire process of web development. The framework use varnish as a reverse proxy server on the server side. We expand its caching capabilities through merging all http objects to a separate file which cached into memory. In that case the varnish plays the role of a web accelerator. We also use lighttpd as a static file server. According to static files we put forward a set of static files to the continuous integration process. The process integrated ccnet, svn and ucdtools which we developed as a middleware. For the development phase the process contains version control, file merging, and for the operational phase the process contains file compression, release, and thus to maximize the reduction in the number and size of the static files, thereby improving site performance.2、Design a summary of performance management system. Performance management system which manage the company employee performance, improve the efficiency of performance management, has been used by a lot of large companies. Due to the complexity of the management process, the number of concurrent, and high require of interactive. Performance management system has higher requirements for the performance of the site. The original system’s performance could not satisfy the increasingly complex performance management process. In this paper, for the performance management system, we given the functional block diagram of the system, described in detail the role and links of each module, and system processes the instructions given in the main flow chart of the system.3、Finally, we implement and applicant the optimization solution. The paper provides a code of some ucdtool realization of the principle. We make this high-performance web framework used in a performance management system which requires a good performance web site, and in the use of high-performance web frameworks, the testing and comparison with old framework shows that the performance has been increased dramatically.
Keywords/Search Tags:Web Front-end, Lighttpd, Varnish, Static File Sets, PerformanceOptimization
PDF Full Text Request
Related items