5 powerful Java Distributed cache framework recommended 2014-11-19 10:12 anonymous code:T | T
In the development of large Java software projects, many Java architects will encounter the database read and write bottlenecks, if you are in the system architecture and do not take into account the cache policy, or do not choose a better caching strategy, then it will be a nightmare to refactor.
In the development of large Java software projects, many Java architects will encounter the database read and write bottlenecks, if you are in the system architecture and do not take into account the cache policy, or do not choose a better caching strategy, then it will be a nightmare to refactor. This article is mainly to share 5 common Java Distributed Cache framework, these caching frameworks support multiple server cache read and write function, can make your cache system easier to expand.
1. Ehcache –java Distributed Cache Framework
EhCache is a Java implementation of the open-source distributed cache framework, EhCache can effectively reduce the load of the database, you can keep the data in different server memory, when the need for data can be quickly accessed. At the same time the Ehcache extension is very simple and there are several official cache configurations available. You can pass in different parameters by declaring the configuration, configuring it in XML, configuring it in a program, or invoking a constructor method.
Official website: http://ehcache.org/
Usage Tutorial: http://www.codeceo.com/article/java-ehcache.html
2. Cacheonix – High-performance Java distributed cache system
Cacheonix is also a Java-based distributed cluster caching system that can also help you deploy distributed caches.
Official website: http://www.cacheonix.com/
Usage Tutorial: http://www.codeceo.com/article/java-cacheonix.html
3. Asimplecache – Lightweight Android Cache Framework
Asimplecache is an Android-based lightweight caching framework that has only one Java file, and Asimplecache can basically cache commonly used Android objects, including plain strings, JSON objects, serialized Java objects, byte arrays, and so on.
Official website: Https://github.com/yangfuhai/ASimpleCache
Usage Tutorial: http://www.codeceo.com/article/asimplecache-android-cache.html
4. JBoss Cache – The Java caching framework based on things
JBoss Cache is a Java-based transaction caching system that aims to build a Java framework-based clustering solution that can be a server application or a Java SE application.
Official website: http://jbosscache.jboss.org/
Usage Tutorial: http://www.codeceo.com/article/jboss-cache-java.html
5. Voldemort – Cache framework based on key-value (Key-value)
Voldemort is a Java-based distributed key-value caching system, like JBoss Cache, Voldemort also supports cache synchronization between multiple servers to enhance system reliability and read performance.
Official website: http://www.project-voldemort.com/voldemort/
Usage Tutorial: http://www.codeceo.com/article/voldemort-java-key-value-catch.html
If you have a better distributed Java Cache Framework, welcome to comment on the recommendation, this article will continue to update.
5 powerful Java distributed cache framework recommendations