Within the layered enterprise application architecture, database is usually the bottleneck of system. Cache technology can significantly improve the system performance and scalability by caching the data in application layer. Firstly, this paper discussed the significance and importance of the Distributed Cache System. Our system provided two kinds of cache mechanism, including replicated cache and partitioned cache. Each of these has advantages and disadvantages. The design and implementation of this system covered problems including consistent hashing arithmetic. This paper described and analyzed data distribution, data update and the procedure of operations in different cache mechanisms. At last, we made the compared test between our system and the similar product, Memcached. We found that there are both advantages and disadvantages of these two products, it points out the direction for our future improvement.
Read full abstract