Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.474.305 Times

IPC::SharedCache 1.3

  Date Added: January 24, 2010  |  Visits: 885

IPC::SharedCache

Report Broken Link
Printer Friendly Version


Product Homepage
Download (99 downloads)



IPC::SharedCache is a Perl module to manage a cache in SysV IPC shared memory. SYNOPSIS use IPC::SharedCache; # the cache is accessed using a tied hash. tie %cache, IPC::SharedCache, ipc_key => AKEY, load_callback => &load, validate_callback => &validate; # get an item from the cache $config_file = $cache{/some/path/to/some.config}; This module provides a shared memory cache accessed as a tied hash. Shared memory is an area of memory that is available to all processes. It is accessed by choosing a key, the ipc_key arguement to tie. Every process that accesses shared memory with the same key gets access to the same region of memory. In some ways it resembles a file system, but it is not hierarchical and it is resident in memory. This makes it harder to use than a filesystem but much faster. The data in shared memory persists until the machine is rebooted or it is explicitely deleted. This module attempts to make shared memory easy to use for one specific application - a shared memory cache. For other uses of shared memory see the documentation to the excelent module I use, IPC::ShareLite (IPC::ShareLite). A cache is a place where processes can store the results of their computations for use at a later time, possibly by other instances of the application. A good example of the use of a cache is a web server. When a web server receieves a request for an html page it goes to the file system to read it. This is pretty slow, so the web server will probably save the file in memory and use the in memory copy the next time a request for that file comes in, as long as the file hasnt changed on disk. This certainly speeds things up but web servers have to serve multiple clients at once, and that means multiple copies of the in-memory data. If the web server uses a shared memory cache, like the one this module provides, then all the servers can use the same cache and much less memory is consumed. This module handles all shared memory interaction using the IPC::ShareLite module (version 0.06 and higher) and all data serialization using Storable. See IPC::ShareLite and Storable for details..

Requirements: No special requirements
Platforms: Linux
Keyword: Cache File Ipc Shared Ipcsharedcache Memory Module Perl Module Shared Shared Memory Sharedcache Sharelite Sysv Sysv Ipc To Manage Web Server
Users rating: 0/10

License: Freeware Size: 19.46 KB
USER REVIEWS
More Reviews or Write Review


IPC::SHAREDCACHE RELATED
Server Management  -  Write a file to a WebDAV Server 1.0
This script is an extremely simple example of using homepage to write a file to a WebDAV server. This version does not use any authentication mechanism.
 
Programming  -  ASP XML Parser Component 2.2.1
A super-fast, low-memory usage, XML parser specifically designed to be used server-side in ASP scripts. This DOM based parser is many times faster than MSXML, and consumes far less memory. Great for handling large XML data files. Also includes...
231 KB  
Web Browsers  -  Xlogan 2.0 Beta 1
Xlogan is an easy-to-use web server log file analyser which works with Apache-format log files (NCSA combined format or Common Log Format). It features an integrated FTP browser to allow you to fetch your log files straight from your web server,...
1.71 MB  
File Management  -  Cache file contents to speed access 1.0
This class caches the contents of a set of files and avoids reading files repeatedly from disk by holding onto the contents of each file as a list of strings.Some tasks require reading from a set of files in a random manner. Opening and reading...
 
Libraries  -  Math::Logic::Predicate 0.03
Math::Logic::Predicate is a Perl module to manage and query a predicate assertion database. SYNOPSIS use Math::Logic::Predicate; $db = new Math::Logic::Predicate; # Enter some predicates into the database $db->add(<
17.41 KB  
Libraries  -  CGI::SpeedyCGI 2.22
SpeedyCGI is a Perl module to speed up perl scripts by running them persistently. SYNOPSIS #!/usr/bin/speedy ### Your Script Here. For example: print "Content-type: text/htmlnnHello World!n"; ## ## Optionally, use the CGI::SpeedyCGI...
153.6 KB  
Libraries  -  Samba::LDAP 0.03
Samba::LDAP is a Perl module to manage a Samba PDC with an LDAP Backend. SYNOPSIS use Carp; use Samba::LDAP; my $samba = Samba::LDAP->new() or croak "Cant create objectn"; my $domain = $samba->get_local_sid();.
81.92 KB  
Libraries  -  Gtk2::Ex::MindMapView::HotSpot::Grip::Round 0.000001
Gtk2::Ex::MindMapView::HotSpot::Grip::Round is a Perl module to manage a round grip type "hot spot" on a view item. SYNOPSIS use Gtk2::Ex::MindMapView::HotSpot::Grip::Round; The Gtk2::Ex::MindMapView::HotSpot::Grip::Round is a round grip...
50.18 KB  
Libraries  -  Gtk2::Ex::MindMapView::HotSpot::Grip::Lentil 0.000001
Gtk2::Ex::MindMapView::HotSpot::Grip::Lentil is a Perl module to manage a lentil shaped grip "hot spot" on a view item. SYNOPSIS use Gtk2::Ex::MindMapView::HotSpot::Grip::Lentil; A LentilGrip hotspot may be used to resize a...
50.18 KB  
Libraries  -  Gtk2::Ex::MindMapView::ItemHotSpot 0.000001
Gtk2::Ex::MindMapView::ItemHotSpot is a Perl module to manage a "hot spot" on a view item. SYNOPSIS use Gtk2::Ex::MindMapView::ItemHotSpot; Four Gtk2::Ex::MindMapView::ItemHotSpots are created for each Gtk2::Ex::MindMapView::Item. The...
50.18 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB