With the rapid development of Internet communication technology,network transmission speed is no longer the main factor limiting data transmission.The research and development of high-performance cache scheme has become a hot spot of Internet companies.And the requirements of high performance,high concurrency and high availability for cache module in software architecture are put forward.As a new database,the distributed database has become the Key-Value type cache implementations,such as Redis,Memcached,which directly affect the efficiency of software overall experience.So for Key-Value database performance ascension has great practical significance,many enterprises and scholars have studied the related work and achieved some results.This paper focuses on improving the overall performance of the cache database,and applies it to the targeted poverty alleviation system to reduce user request time and improve user experience.This paper introduces the advantages and disadvantages of various existing caching methods and works against the existing disadvantages.The innovation work of this paper is as follows:Firstly,Spider Monkey Optimization(SMO)algorithm is introduced to improve the data storage stability of cache database cluster,and the fissile and fusion method of Spider Monkey algorithm is used to optimize the load balance of cache database cluster.Throughput was improved by 6.1%-29.4%,overall load deviation of cache database cluster was optimized by23.6%-57.7%,and data migration time was reduced by 3.8%-23%.After the load balancing of cache database cluster nodes is realized,an optimization strategy based on Space weight is proposed to further improve its performance.The cache database nodes that are close to each other are selected first to reduce the number of hops in network communication and improve the read and write speed.Under the same conditions,tests are carried out.Test results show that the throughput under the SMO cache database cluster rise by 19.4%-25.5%,data migration time is reduced by 6.7%-7.5%.The load deviation degree decreased slightly,but the overall performance improved greatly.Finally,this paper applies the improved cache database cluster to the targeted poverty alleviation system,and proves the high availability and scalability of the platform through a series of testing techniques.Compared with existing websites of the same type,the overall response speed of the optimized cache database cluster system is 179%-214% higher than that of similar websites.This paper fully demonstrates that the research has a certain innovation and practical value. |