My favorites | Sign in
Project Logo
                
Search
for
Updated Oct 28, 2009 by Randgalt
Labels: Featured
Reference  
Reference documentation for sccache

Introduction

The SHOP.COM Cache System (sccache) is a high performance, highly scalable object caching system. It is a 100% Java library and can cache any object of any size that implements Serializable. Cached objects are referenced by String keys of any length. sccache is used by SHOP.COM to cache generated HTML pages, SQL queries, HTTP Sessions, POJO objects, etc.

The sccache system consists of three major components: Servers, Clients and Storage. sccache presents an abstract interface to these components that is implementation neutral. If needed, custom implementations can be written for any of the components. For most uses, however, the default SHOP.COM implementation will be used.

Clients
sccache Clients are any application that needs to consume/produce cached objects. The class that abstracts an sccache Client is SCCache. SCCache has methods to get objects from the cache, put objects into the cache, etc. Here's a sample of the available methods:

public Object get(...);
public void put(...);
public List<String> listGroup(...); // sccache supports associative keys
public List<String> regExRemove(String expression);
public List<String> dumpStats(boolean verbose);

Server
sccache Servers are shared repositories for objects. TBD

Storage
The sccache storage API provides a framework for sccache Servers to write cached objects to disk. TBD

Details

See Architecture.

Javadoc

http://jordanzimmerman.com/sccache/index.php

Utilities


Sign in to add a comment
Hosted by Google Code