Font Size: a A A

Research And Design Of Application Server Middleware Based On Cache Scheduling

Posted on:2019-06-06Degree:MasterType:Thesis
Country:ChinaCandidate:H Y LiFull Text:PDF
GTID:2428330572463624Subject:Computer technology
Abstract/Summary:PDF Full Text Request
In the process of developing the parking system APP,it is found that the slow response of the server often occurs when mobile APP makes data requests,which results in bad user experience.Therefore,we need to propose a set of solutions to speed up the response of the server and enhance the user experience.In order to achieve this goal,we can adopt the method of space for time,that is,using caching in the system.From the point of view of server caching,this paper studies how to design an efficient caching scheme for data caching.In order to solve the problem that the development language,operating system and computer hardware used in client,server and database may be different,this paper studies the middleware technology,and analyses the common middleware development specifications,and then determines the development framework of using J2 EE as the whole middleware.In order to better realize software reuse,EJB component model is used in middleware to organize the code of business rules in business domain.In order to improve the hit rate of middleware cache,the middleware needs efficient cache scheduling algorithm.This paper introduces and analyzes the commonly used cache scheduling algorithms.To solve the problem that the Greedy Dual Size Frequency(GDSF)algorithm can not reflect the future trend of frequency,a new cache scheduling algorithm,GDSF-PRF(Greedy Dual Size Frequency Periodic Relative),is proposed on the basis of GDSF algorithm.In addition to considering file size,network bandwidth and dwell time,the new scheduling algorithm introduces three characteristics: average periodic access frequency,nearest periodic access frequency and periodic relative frequency.The periodic relative frequency PRF is obtained by the average periodic access frequency and the nearest periodic access frequency,which is used to reflect the development trend of file access frequency.Internet users' access habits conform to Zipf's law.Experiments are carried out under the access sequence which conforms to this kind of access characteristics.Request hit rate and byte hit rate of GDSF-PRF algorithm are obtained.Compared with the traditional LRU,FIFO and GDSF algorithms,GDSF-PRF algorithm achieves an optimized hit rate.Finally,according to the functional requirements of each module of middleware,the middleware is designed with design pattern,and the application server middleware based on cache scheduling is implemented with parking system as application scenario.
Keywords/Search Tags:Middleware, Application server, Cache scheduling algorithm, GDSF, Hit rate
PDF Full Text Request
Related items