dcache 0.6.2
dcache is a database library implementing a persistent first-in-first-out cache.
The database (or `cache') size limits are configu
dcache is a database library implementing a persistent first-in-first-out cache.
The database (or `cache') size limits are configured at creation time, and as soon as they are reached the oldest records are automatically removed.
dcache library has a number of commandline tools for managing the database.
dcache is a disk based caching database in a single file containing a header and fixed sized hash and data space.
The header holds variables and constants describing the database.
The hash table holds pointers into the data area and hashes of the keys. The hash function used is a crc32.
The data area consists of the data, the key, a 64bit number with application defined use, and two 32bit numbers holding key and data lengths.
The header and hash table are mapped into process address space using the mmap(2) system call. The data area is not memory mapped, thus allowing to handle multi-gigabyte files even on systems with a 32bit address space.
Here are some key features of "dcache":
The database size is limited to 63 bits on operating systems supporting large files.
The database size is limited to 31 bits (2 gigabytes) on operating systems not supporting large files.
The sum of the length of key, data and record overhead is limited to 31 bits (2 gigabytes).
The record overhead in the data area is 16 bytes.
The number of possible keys is limited by the address space of the process, or somewhat over 200 million, whatever comes first.
Storage of numbers is done in big endian byte order ('network byte order'). Databases are portable between hosts with different byte orders.
The size of the cache and the number of records in it are set at creation time.
The cache is cleaned up automatically, removing old records if there's not enough space for data or records.
Deletions are supported.
Multiple readers and writers are supported, provided that the applications lock to database.
Keys need not be unique.
The dcache library files are published under the GNU Lesser General Public License (don't hesitate to ask me if this is a problem for you). The tools are published under the GNU GENERAL PUBLIC LICENSE.
What's New in This Release:
This release fixes a few compiler and linker warnings, among them those breaking the self check when using dietlibc.
No functional changes were done.
tags
the data the database data area address space are supported the cache the number byte order are published public license this release general public the gnu
Download dcache 0.6.2
http://www.ohse.de/uwe/dcache/dcache-0.6.2.tar.gz
Authors software
|
ftpcopy 0.6.7 (by Uwe Ohse)
ftpcopy is a simple FTP client written to copy files or directories (recursively) from a FTP server.
It was written to mirror FTP
|
|
dcache 0.6.2 (by Uwe Ohse)
dcache is a database library implementing a persistent first-in-first-out cache.
The database (or `cache') size limits are configu
|
|
dyndb 0.5.2 (by Uwe Ohse)
dyndb is a dynamical database.
dyndb is database with 1 key 1 value relation
|
|
mosquitotools 0.1.2 (by Uwe Ohse)
mosquitotools project contains software to get and graph dive profiles from a Suunto mosquite dive computer.
Various tools used du
|
Similar software
|
dcache 0.6.2 (by Uwe Ohse)
dcache is a database library implementing a persistent first-in-first-out cache.
The database (or `cache') size limits are configu
|
|
dyndb 0.5.2 (by Uwe Ohse)
dyndb is a dynamical database.
dyndb is database with 1 key 1 value relation
|
|
strhash 0.6.0 (by Uwe Ohse)
strhash is a hash table library.
A strhash is an associative array, mapping keys to values
|
|
hashit 0.9.4 (by Pleyades Crew)
hashit is a generic hash library.
hashit implements diverse collision handling methods.
This function creates a hash table whic
|
|
Itzam/C++ 2.0.0 (by Scott Robert Ladd)
Itzam/C++ wraps the Itzam database engine with C++ templates for both simple and complex database classes.
Itzam/C++ wrapper suppo
|
Other software in this category
|
zlib 1.2.3 (by Jean-loup Gailly)
zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp
|
|
libxml2 2.6.27 (by DV)
Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i
|
|
GNU C library 2.4 (by Andreas Jaeger)
GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.
GNU C library is us
|
Featured Software
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell