Print Search
帖子排序:    
帖子发起人: Daniel.Yang   发起时间: 2005-08-09 11:23 上午   回复: 0
zyyang 离线,最后访问时间: 2008-8-6 9:30:09 Daniel.Yang



发帖数前10位
注册: 2005-07-24
发 贴: 300
Overview of Java Caching framework
 2005-08-09, 11:23 上午

看到有兄弟说起asp.net下的缓存, 贴一个j2ee下的caching framework把. 他山之石.呵呵

Table 1. Overview of selected frameworks

Caching framework

Vendor

URL

Overview

Java Caching System

Jakarta (part of Jakarta Turbine project)

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

Java Caching System (JCS) is a highly flexible and configurable solution to increase overall system performance by maintaining dynamic pools of frequently used objects. JCS goes beyond simply caching objects in memory. It provides several important features necessary for an enterprise-level caching system. JCS provides a framework with no point of failure, allowing for full session failover (in clustered environments), including session data across up to 256 servers. It also provides the flexibility to configure one or more data storage options like memory cache, disk cache, or caching the data on a remote machine.

OSCache

OpenSymphony

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

OSCache caches sections of JSP pages and binary content such as PDFs or images. It provides both fast in-memory caching and persistent on-disk caching depending on the caching requirements. It also supports object caching in a cluster environment.

JOCache

ShiftOne

http://jocache.sourceforge.net

JOCache was developed to provide basic object caching. It supports clustered caching and can integrate with OR (object relational) models such as Hibernate.


Table 2 shows a comparative summary of these three frameworks.

Table 2. Comparison of caching frameworks

Feature

JCS

OSCache

JOCache

JCache (JSR-107) compliant?

Yes

Yes

Yes

Installation and configuration complexity

Simple

Simple

Simple

Supports cache regions

Yes

Yes

Yes

Schedule cache expiry

No

Yes

Yes

Configuration filename (format)

cache.ccf (plain text)

oscache.properties (plain text)

cache.properties

jar file

jcs-1.0-dev.jar

oscache-2.0.jar

shiftone-cache.jar

Available cache algorithms

LRU, MRU

LRU, FIFO, Unlimited

FIFO, LRU, LFU

Clustering support

No

Yes

No

 

 

IP 地址: 已记录   报告
合肥微软技术中心社区 » 技术讨论区 » J2EE相关 » Overview of Java Caching framework

Powered by Community Server Powered by CnForums.Net