logo       


svn commit: r449070 - in /jakarta/jcs/trunk/xdocs: BlockDiskCache.xml navig: msg#00012

Subject: svn commit: r449070 - in /jakarta/jcs/trunk/xdocs: BlockDiskCache.xml navigation.xml
Author: asmuts
Date: Fri Sep 22 13:16:05 2006
New Revision: 449070

URL: http://svn.apache.org/viewvc?view=rev&rev=449070
Log:
Adding initial block disk cache documentation.

Added:
    jakarta/jcs/trunk/xdocs/BlockDiskCache.xml
Modified:
    jakarta/jcs/trunk/xdocs/navigation.xml

Added: jakarta/jcs/trunk/xdocs/BlockDiskCache.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jcs/trunk/xdocs/BlockDiskCache.xml?view=auto&rev=449070
==============================================================================
--- jakarta/jcs/trunk/xdocs/BlockDiskCache.xml (added)
+++ jakarta/jcs/trunk/xdocs/BlockDiskCache.xml Fri Sep 22 13:16:05 2006
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>

+

+<document>

+       <properties>

+               <title>Block Disk Cache</title>

+               <author email="asmuts@xxxxxxxxxx">Aaron Smuts</author>

+       </properties>

+

+       <body>

+               <section name="Block Disk Auxiliary Cache">

+                       <p>

+                               The Block Disk Cache stores cached values on 
disk. Like

+                               the Indexed Disk Cache, the Block Disk Cache 
keeps the

+                               keys in memory. The Block Disk Cache stores the 
values

+                               in a group of fixed size blocks, whereas the 
Indexed

+                               Disk Cache writes items to disk in one chunk.

+                       </p>

+                       <p>

+                               The Block Disk Cache has advantages over the 
normal

+                               indexed model for regions where the size of the 
items

+                               varies. Since all the blocks are the same size, 
the

+                               recycle bin is very simple. It is just a list 
of block

+                               numbers. Also, the Block Disk Cache will never 
need to

+                               be optimized. Once the maximum number of keys is

+                               reached, blocks will be reused.

+                       </p>

+                       

+                       <subsection name="Example cache.ccf">

+                               <source>

+                                       <![CDATA[       

+##############################################################                 
                

+##### DEFAULT REGION  ######################################## 

+

+jcs.default=blockDiskCache

+jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes

+jcs.default.cacheattributes.MaxObjects=0

+jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache

+                                       

+##############################################################                 
                

+##### AUXILIARY CACHES  ###################################### 

+

+# Block Disk Cache

+jcs.auxiliary.blockDiskCache=org.apache.jcs.auxiliary.disk.block.BlockDiskCacheFactory

+jcs.auxiliary.blockDiskCache.attributes=org.apache.jcs.auxiliary.disk.block.BlockDiskCacheAttributes

+jcs.auxiliary.blockDiskCache.attributes.DiskPath=target/test-sandbox/block-disk-cache-huge

+jcs.auxiliary.blockDiskCache.attributes.MaxPurgatorySize=300000

+jcs.auxiliary.blockDiskCache.attributes.MaxKeySize=1000000

+jcs.auxiliary.blockDiskCache.attributes.blockSizeBytes=500

+jcs.auxiliary.blockDiskCache.attributes.EventQueueType=SINGLE

+#jcs.auxiliary.blockDiskCache.attributes.EventQueuePoolName=disk_cache_event_queue

+

+##############################################################

+################## THREAD POOL CONFIGURATION #################

+

+# Default thread pool config

+thread_pool.default.boundarySize=2000

+thread_pool.default.maximumPoolSize=150

+thread_pool.default.minimumPoolSize=4

+thread_pool.default.keepAliveTime=350000

+#RUN ABORT WAIT BLOCK DISCARDOLDEST

+thread_pool.default.whenBlockedPolicy=RUN

+thread_pool.default.startUpSize=4

+

+# Disk Cache pool

+thread_pool.disk_cache_event_queue.useBoundary=false

+thread_pool.disk_cache_event_queue.minimumPoolSize=2

+thread_pool.disk_cache_event_queue.keepAliveTime=3500

+thread_pool.disk_cache_event_queue.startUpSize=10                              
                        

+        ]]>

+                               </source>

+                       </subsection>                   

+               </section>

+       </body>

+</document>
\ No newline at end of file

Modified: jakarta/jcs/trunk/xdocs/navigation.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jcs/trunk/xdocs/navigation.xml?view=diff&rev=449070&r1=449069&r2=449070
==============================================================================
--- jakarta/jcs/trunk/xdocs/navigation.xml (original)
+++ jakarta/jcs/trunk/xdocs/navigation.xml Fri Sep 22 13:16:05 2006
@@ -45,6 +45,8 @@
                                        href="/IndexedDiskAuxCache.html" />
                                <item name="Indexed Disk Properties"
                                        href="/IndexedDiskCacheProperties.html" 
/>
+                               <item name="Block Disk Cache"
+                                       href="/BlockDiskCache.html" />
                                <item name="JDBC Disk Cache"
                                        href="/JDBCDiskCache.html" />
                                <item name="JDBC Disk Properties"
@@ -64,7 +66,6 @@
                                        href="/LateralJavaGroupsAuxCache.html" 
/>
                        </item>
                </menu>
-
-
+               
        </body>
 </project>


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe