Introduction to JAVA caching technology

1e341f72cde44625b722b9a59959082e.jpgOSCache

 

  

  OSCache is a widely used high-performance J2EE caching framework. OSCache can be used as a common caching solution for any Java application.

 

  OSCache has the following characteristics:

 

  I created a group, where I share technical dry goods and industry secrets from time to time, and gather all kinds of wonderful and interesting topics and trends! There are great gods, no ads, if you like my articles, you can use QQ to search 650385180 and add group attention.

 

 

  Cache any object, you can cache unlimited parts of jsp pages or HTTP requests, any java object can be cached.

  

  Has a comprehensive API--OSCache API gives you a comprehensive program to control all OSCache features.

  

  Persistent Cache - The cache can be written to disk at will, thus allowing expensive-to-create data to maintain the cache, even allowing the application to be restarted.

  

  Support for clusters - cluster cache data can be individually parameterized without modifying the code.

  

  Expiration of cached records - You have maximum control over the expiration of cached objects, including pluggable refresh policies (if default performance is not required).

  

  Official website http://www.opensymphony.com/oscache/

  

  Java Caching System

  

  JSC (Java Caching System) is a distributed caching system and a server-based java application. It accelerates dynamic web applications by providing and managing various dynamic cache data.

  

  JCS, like other caching systems, is an application for high-speed reads and low-speed writes.

  

  Dynamic content and reporting systems can achieve better performance.

  

  If a website has a repeated website structure, uses a database that is updated intermittently (rather than continuously updating the database), and is repeatedly searched for the same results, it can improve its performance and scalability by performing caching.

  

  Official website http://jakarta.apache.org/turbine/jcs/

  

  EHCache

  

  EHCache is a pure java in-process cache, it has the following characteristics: fast, simple, acts as a pluggable cache for Hibernate2.1, minimal dependencies, comprehensive documentation and testing.

  

  Official website http://ehcache.sourceforge.net/

  

  JCache

  

  JCache is an open source program and is working hard to become the JSR-107 open source specification, which has not changed for many years. This version still builds on the original function definition.

  

  Official website http://jcache.sourceforge.net/

  

  ShiftOne

  

  ShiftOne Java Object Cache is a Java lib that implements a series of strict object caching strategies, just like a lightweight framework for configuring the working state of the cache.

  

  Official website http://jocache.sourceforge.net/

  

  SwarmCache

  

  SwarmCache is a simple and effective distributed cache, which uses IP multicast to communicate with other hosts in the same LAN, and is specially designed for clustering and data-driven web applications. SwarmCache can provide better performance support for such applications where typical read operations greatly exceed write operations.

  

  SwarmCache uses JavaGroups to manage affiliation and distributed cache communication.

  

  Official website http://swarmcache.sourceforge.net

  

  TreeCache / JBossCache

  

   JBossCache is a replicated transactional cache that allows you to cache enterprise application data for better performance. Cached data is automatically replicated, allowing you to easily cluster work between JBoss servers. JBossCache can run an MBean service through JBoss Application Services or other J2EE containers, of course, it can also run independently.

  

  JBossCache includes two modules: TreeCache and TreeCacheAOP.

  

  TreeCache -- is a tree-structure replicated transactional cache.

  

  TreeCacheAOP -- is an "object-oriented" cache that uses AOP to dynamically manage POJO (Plain Old Java Objects)

  

  Note: AOP is the continuation of OOP, which is the abbreviation of Aspect Oriented Programming, which means aspect-oriented programming.

  

  Official website http://www.jboss.org/products/jbosscache

  

  WhirlyCache

  

  Whirlycache is a fast, configurable, in-memory object cache. It can speed up a website or application by caching objects that would otherwise have to be created by querying a database or other expensive processes.

Guess you like

Origin blog.csdn.net/weixin_57763462/article/details/131969851