Linux SoftwareProgrammingLibrariesdcache 0.6.2

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
Developer:   Uwe Ohse
      more software by author →
Price:  0.00
License:   LGPL (GNU Lesser General Public License)
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


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

    iodp 0.2.4 (by Uwe Ohse)
    tcpsocket creates a TCP listener socket and runs a program

    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

    QDBM: Quick DataBase Manager 1.8.74 (by Mikio Hirabayashi)
    QDBM is a library of routines for managing a database

    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

    C Minimal Perfect Hashing Library 0.5 (by Fabiano Cupertino Botelho and Davi de Castro Reis)
    C Minimal Perfect Hashing Library encapsulates the newest and more efficient algorithms in an easy-to-use, production-quality, fast A

    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

    hamsterdb 0.1 pre2 (by Christoph Rupp)
    hamsterdb is a database engine written in ANSI C

    Generic Hash Table library 0.6.1 (by Simon Kagstrom)
    Generic Hash Table library is a hash table implementation in C for storing arbitrary types of data

    Disk Based HashTables 4.5.0 (by Edscott Wilson Garc?a)
    Disk Based HashTables is a method to create multidimensional binary trees on disk.

    What's a disk based hashtable? A DBH is a conve


    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

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.8d (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    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

  •     search


    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


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags