Introduction to the source Cache System for Java Development

Source: Internet
Author: User
Performance Comparison of several Java open-source cache systems:

The following is an introduction to several famous java open-source cache systems:

  Oscache

Oscache is a widely used
.
High-performance J2EE cache framework,

Oscache can be used in any Java application

Oscache has the following features:
Cache any object, you can
Save.
Unrestricted cache of some JSP pages or H

TTP requests, any Java object can be slowed down

Have a comprehensive API-oscac He API gives you comprehensive programs to control Some Oscache features.
Permanent cache-the cache can be freely written to the hard disk,
To keep the cache, or even restart the application.
Therefore, expensive data creation (expensive-to-create) is allowed.

Supports parameter configuration for cluster-cluster cache data that can be individually configured without modifying the code.
Cache record expiration-you can maximize
If the default performance is not required ).
Cache object expiration, including pluggable refresh policies (

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

  Java Caching System

JSC (Java Caching System) is
It manages a variety of dynamic cache data to add
A distributed cache system is a server-based Java application.
Fast dynamic web applications.
Like other cache systems, JCS is also an application for high-speed reading and low-speed writing.
Dynamic Content and report systems provide better performance.
If a website already exists
New database), repeatedly searched
The website structure, using the intermittent Updater
If the results are the same, the execution is slow.
Type database (instead of continuous
Storage Method to improve its performance and scalability.

Official website http: // Jaka Rta.apache.org/turbine/jcs/

  Ehcache

Ehcache is a pure Java
Hibernate2.1 acts as pluggable
In the process, it has the following
Cache, minimal dependency, comprehensive text
Features: fast and simple.
File and test.

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

  Jcache

Jcache is an open-source program and is striving to become
. This version is still built in the Initial Function Definition
JSR-107 open source specification, JSR-107 specification has not changed for many years
.
Official Website http://jcache.sourceforge.net/

  Shiftone

Shiftone Java object cache is
A lightweight framework for configuring cache working states.
Java lib that executes a series of strict object cache policies, just like

Official Website http://jocache.sourceforge.net/
Swarmcache
Swarmcache is a simple
Host communications, especially for the set
The number of write operations exceeds the limit.
Effective distributed cache, which uses IP addresses
Group and data-driven Web Applications
Applications provide better performance support.
Multicast and others in the same LAN
. Swarmcache enables typical read Operations

Swarmcache uses javagroups to manage subordination and distributed cache communication.
Official Website http://swarmcache.sourceforge.net

  Treecache/jbosscache

Jbosscache is a replication
. Cache data is automatically copied to allow
JBoss application service or other J2EE
Transaction Processing cache, which allows you to cache
You can easily implement
Container to run an mbean service, when
Enterprise Application Data to better improve performance
Cluster. Jbosscache can
However, it can also run independently.
Jbosscache consists of two modules: treecach E and treecacheaop.
Treecache-a transaction processing cache for tree structure replication.
Treecacheaop -- yes
Java objects)
"Object-Oriented" cache, which uses AO

P to dynamically manage pojo (plain old

Note: AOP is a continuation of OOP, Is Aspect Oriented programmin G stands for Aspect-Oriented Programming.
Official Website http://www.jboss.org/pr Oducts/jbosscache

  Whirlycache

Whirlycache is a fast
For accelerating websites or applications
Li.
Fast, configurable, and stored in memory
Speed; otherwise, data must be queried

Object cache. It can
Library or other costly processing programs to create

 

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.