Top Level :: Caching
:: chdb
:: 1.0.2
chdb 1.0.2
This package is not maintained, if you would like to take over please go to this page.
Package Information |
Summary |
A fast database for constant data with memory sharing across processes |
Maintainers |
Lorenzo Castelli <
lorenzo at hyves dot nl >
(lead)
[details]
|
License |
BSD |
Description |
CHDB (constant hash database) is a fast key-value database for constant data,
realized by using a memory-mapped file and thus providing the following
functionalities:
- Extremely fast initial load, regardless of the size of the database.
- Only the pages of the file which are actually used are loaded from the disk.
- Once a page is loaded it is shared across multiple processes.
- Loaded pages are cached across multiple requests and even process recycling.
A typical use of CHDB is as a faster alternative to defining many PHP
constants.
CHDB is internally implemented as a hash-table using a perfect hashing function,
thus guaranteeing worst case O(1) lookup time. |
Homepage |
http://github.com/lcastelli/chdb
|
Release notes
Version 1.0.2
(stable)
|
- Fix compilation for PHP 5.4 (thanks to Sebastian Volland). - Use RuntimeException instead of Exception for runtime errors. - Generate slightly better error in case of input size of 1. |
|
Dependencies for release 1.0.2 |
|
PHP Version: PHP 5.0.0 or newer PEAR Package: PEAR 1.4.8 or newer Operating System: unix
|
|
|