Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

catalyst::plugin::cache::store::fastmmap(3pm) [debian man page]

Catalyst::Plugin::Cache::Store::FastMmap(3pm)		User Contributed Perl Documentation	     Catalyst::Plugin::Cache::Store::FastMmap(3pm)

NAME
Catalyst::Plugin::Cache::Store::FastMmap - DEPRECATED - FastMmap cache store for Catalyst::Plugin::Cache. SYNOPSIS
# instead of using this plugin, you can now do this: use Catalyst qw/ Cache /; __PACKAGE__->config( cache => { backend => { class => "Cache:FastMmap", share_file => "/path/to/file", cache_size => "16m", }, }); STATUS
This plugin is deprecated because Cache::FastMmap no longer needs to be wrapped to store plain values. It is still available on the CPAN for backwards compatibility and will still work with newer versions of Cache::FastMmap with a slight performance degredation. DESCRIPTION
This store plugin is a bit of a wrapper for Cache::FastMmap. While you could normally just configure with backend => { class => "Cache::FastMmap", share_file => ..., } Cache::FastMmap can't store plain values by default. This module ships with a subclass that will wrap all values in a scalar reference before storing. This store plugin will try to provide a default "share_file" as well, that won't clash with other apps. CONFIGURATION
See "CONFIGURATION" in Catalyst::Plugin::Cache for a general overview of cache plugin configuration. This plugin just takes a hash reference in the backend field and passes it on to Cache::FastMmap. SEE ALSO
Catalyst::Plugin::Cache, Cache::FastMmap. AUTHOR
Yuval Kogman, "nothingmuch@woobling.org" COPYRIGHT &; LICENSE Copyright (c) Yuval Kogman, 2006. All rights reserved. This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself, as well as under the terms of the MIT license. perl v5.14.2 2007-07-05 Catalyst::Plugin::Cache::Store::FastMmap(3pm)

Check Out this Related Man Page

Cache::SizeAwareFileCache(3pm)				User Contributed Perl Documentation			    Cache::SizeAwareFileCache(3pm)

NAME
Cache::SizeAwareFileCache -- extends Cache::FileCache DESCRIPTION
The SizeAwareFileCache class adds the ability to dynamically limit the size (in bytes) of a file system based cache. This class also implements the SizeAwareCache interface, providing the 'max_size' option and the 'limit_size( $size )' method. SYNOPSIS
use Cache::SizeAwareFileCache; my $cache = new Cache::SizeAwareFileCache( { 'namespace' => 'MyNamespace', 'default_expires_in' => 600, 'max_size' => 10000 } ); METHODS
See Cache::Cache and Cache::SizeAwareCache for the API documentation. OPTIONS
See Cache::Cache and Cache::SizeAwareCache for the standard options. PROPERTIES
See Cache::Cache and Cache::SizeAwareCache for the default properties. SEE ALSO
Cache::Cache, Cache::SizeAwareCache, Cache::FileCache AUTHOR
Original author: DeWitt Clinton <dewitt@unto.net> Also: Portions of this code are a rewrite of David Coppit's excellent extentions to the original File::Cache Last author: $Author: dclinton $ Copyright (C) 2001-2003 DeWitt Clinton perl v5.12.4 2009-03-01 Cache::SizeAwareFileCache(3pm)
Man Page

3 More Discussions You Might Find Interesting

1. HP-UX

Buffer Cache

What is the "Buffer Cache" used for? (1 Reply)
Discussion started by: ALTRUNVRSOFLN
1 Replies

2. Linux

getting info on Cache Size, Data Cache etc..

Hi all I saw in Microsoft web site www.SysInternals.com a tool called CoreInfo from able to print out on screen the size of the Data and Instruction caches of your processor, the Locigal to Physical Processor mapping, the number of the CPU sockets. etc.. Do you know if in Linux is available a... (2 Replies)
Discussion started by: manustone
2 Replies

3. UNIX for Advanced & Expert Users

echo 1 > /proc/sys/vm/drop_caches a good idea?

Hi folks. I work with several production servers, and I have seen in some Kernel Cache using most of the memory. See this pic: http://i51.tinypic.com/301nb6c.jpg Do you think this is a smart choice? Remember these are productions servers and it is extremely necesary this does not... (6 Replies)
Discussion started by: erick_tuk
6 Replies