Font Size: a A A

Design And Implementation Of Dynamic Cache Configuration System For Reverse Proxy Server

Posted on:2020-03-03Degree:MasterType:Thesis
Country:ChinaCandidate:Z H ZhaoFull Text:PDF
GTID:2428330572973712Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the Internet and the increasing network users,the load of the Web server is gradually increasing.The use of reverse proxy technology and the cache service it provides can effectively solve the problem.The existing research on reverse proxy caching technology mainly focuses on the design of cache replacement algorithm.When using it,the websites under the proxy server generally share the same cache space and cannot separately allocate cache space for websites with high priority or high cache requirements.As a result,the cache requirements of the website cannot be satisfied and the user access delay cannot be effectively reduced.In view of the above problems,this paper designs a cache allocation algorithm in reverse proxy mode based on the cache allocation algorithms in the field of information center network,CPU multi-program scheduling and storage system.The algorithm can analyze the website data indicators according to the website access log statistics,and predict the forecast value of the website data indicators in the future based on the historical value.Then it calculates the cache allocation weight of the website according to the predicted value or website priority,and finally calculate the cache space size of the website.The algorithm considers factors such as website visits,website traffic and response time of the website upstream server.It can allocate a reasonable amount of cache space for the website,so that websites with high cache requirements and benefits or high priority can get more cache space and improve cache hit rate so as to reduce user access delay.Based on the algorithm,this paper implements a reverse proxy server cache dynamic configuration system.Besides realizing the function of reverse proxy server and websites management,the system also realizes the function of automatic cache allocation of reverse proxy server.First,it can statistically analyze the website access log in real time to obtain website data indicators,and then periodically predict the data indicators of the website in the future,and calculate the cache allocation space of the website according to the predicted value.Finally,the reverse proxy server configuration will be updated automatically.Second,it can automatically allocate the appropriate cache space for the website according to the changes of website cache requirements and benefits or priority.The system compares the cache allocation and unallocated effects by mirroring the user request of the school reverse proxy server.The experimental results show that this system can allocate the appropriate cache space according to the change of website cache requirements and benefits or priority,which effectively improves the cache hit ratio,delay reduction ratio and the byte hit ratio of the web site.
Keywords/Search Tags:cache allocation, reverse proxy, prediction algorithm, cache evaluation
PDF Full Text Request
Related items