Font Size: a A A

Research And Implementation Of Distributed Data Cache Model Based On Pooling Technology

Posted on:2010-10-30Degree:MasterType:Thesis
Country:ChinaCandidate:K J YangFull Text:PDF
GTID:2178360275459236Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
The application of distributed technology has brought great challenges to conventional Web systems.A great number of simultaneous requests from clients give a big burden to servers and bring some problems on performance.In fact,the slow down of the reaction speed and low efficiency of data utilization have become the bottle-neck of system performance.The middle tier is imported between the clients and servers can solve these problems, including thread pool,database connection pool and distributed data cache three parts,the clients and the database with it together established the distributed pooling data cache model(DPDCM).The main function of this model is use the thread pool to deal with requests,use connection pool to optimize database connection,and use distributed cache to improve the efficiency of data utilization.The main improvements of this paper include the following three parts.First,this paper utilizes multi-threaded concurrency control technique to design the threads pool to manage the number of threads dynamically.Second,two kinds of different reuse strategies are used in database connection pool,and establish emergency pool with delayed releasing algorithm to deal with high concurrent request.Third,this paper designs the new structure of cache objects,improves LRU-M cache replacement algorithm and cache consistency management of the server failure mode and TTL combination.We also analyze the efficiency and feasibility of technologies in theory.This paper applies DPDCM to the development of community forums,and explains the realization methods.Finally utilizes the application scheme to test the performance of technologies in DPDCM.The results show that the improved distributed cache system shortens the reaction time and improves the rate of cache hit,so the new system is more suitable for today's web systems than the tridational methods.
Keywords/Search Tags:Multi-thread, Concurrency, Reuse, Pooling, Data Cache, Distributed Model
PDF Full Text Request
Related items