Implementation of various cache mechanisms in Java

Source: Internet
Author: User

Oscache

Oscache is a widely used, High-performance Java Java Cache framework that Oscache can be used for any common caching solution for any java-based application.

Oscache has the following characteristics:

To cache any object, you can cache portions of the JSP tutorial pages or HTTP requests without restrictions, and any Java objects can be cached.

Having a comprehensive Api--oscache API gives you a comprehensive program to control all Oscache features.

Persistent caching-caching can be written to the hard disk at will, allowing expensive creation (expensive-to-create) data to remain cached and even restart the application.

Support cluster--the cluster cache data can be configured individually and without the need to modify the code.

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

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

  Java Caching System

JSC (Java Caching System) is a distributed caching system, a server-based Java application. It accelerates dynamic Web applications by providing management of a variety of dynamic cache data.

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

Dynamic content and reporting systems can achieve better performance.

If a Web site, with a duplicate site structure, uses a database tutorial of intermittent updates (rather than a continuous update database), repeated searches for the same result can improve performance and scalability by performing caching.

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

  EHCache

EHCache is a pure Java cache in the process, which has the following features: Fast, simple, Hibernate2.1 as pluggable caching, minimal dependencies, comprehensive documentation and testing.

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

  Jcache

Jcache is an open-source program that is working hard to become a JSR-107 open source specification that JSR-107 specifications have not changed for years. This version is still built on the original functional definition.

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

  Shiftone

Shiftone Java Object Cache is a Java Lib that performs a rigorous set of object caching policies, like a lightweight framework for configuring the caching of working states.

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

  Swarmcache

Swarmcache is a simple and efficient distributed cache that uses IP multicast to communicate with other hosts on the same LAN, specifically designed for cluster and data-driven Web applications. Swarmcache can provide better performance support for this type of application, which typically reads much more than write operations.

Swarmcache uses the Javagroups tutorial to manage communication between dependencies and distributed caching.

Official website http://swarmcache.sourceforge.net

  Treecache/jbosscache

Jbosscache is a replicated transactional cache that allows you to cache enterprise-class application data to better improve performance. Cached data is automatically replicated, allowing you to easily perform cluster work between the JBoss servers. Jbosscache can run an Mbean service through the JBoss application service or other Java EE containers, and of course it can run independently.

Jbosscache consists of two modules: Treecache and TREECACHEAOP.

Treecache--is a transactional cache of tree-structured replication.

TREECACHEAOP--is an "object-oriented" cache that uses AOP to dynamically manage Pojo (Plain old Java Objects)

Note: AOP is a continuation of OOP, an abbreviation for aspect oriented programming, meaning aspect-oriented programming.

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

  Whirlycache

Whirlycache is a fast, configurable cache of objects that exist in memory. It can speed up Web sites or applications by caching objects, or it must be built by querying databases or other expensive handlers.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.