leveldb 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -3
- data/lib/leveldb/version.rb +1 -1
- data/lib/native.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 123601bbef23ab13db9da5dd25db49eb0a477e09
|
4
|
+
data.tar.gz: 81d8c02992688dc995c3a8836dc41f18c56e233e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33f3b1a0dc7a8882ba275f33eaa407e3a9dad106d0eec444199ed1c93a7da0aa36db4acc58cb35b2506b66c56ab19a10a597976652189687d23e6accd83ea152
|
7
|
+
data.tar.gz: 25a569065c2f94b56a83171a4f10252de107fa323e2902e31d76f0255232aefdd9835c6e3ed131ecd93c22163c1a5a5369a5f7931039256c4c98141f03e2cb7c
|
data/README.md
CHANGED
@@ -3,10 +3,31 @@
|
|
3
3
|
LevelDB is a database library (C++, 350 kB) written at Google. It is an
|
4
4
|
embedded database. LevelDB is a persistent ordered map.
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
> LevelDB stores keys and values in arbitrary byte arrays, and data is sorted by
|
7
|
+
> key. It supports batching writes, forward and backward iteration, and
|
8
|
+
> compression of the data via Google's Snappy compression library. Still,
|
9
|
+
> LevelDB is not a SQL database. (Wikipedia)
|
10
|
+
|
11
|
+
## Features
|
12
|
+
|
13
|
+
* Keys and values are arbitrary byte arrays.
|
14
|
+
* Data is stored **sorted** by key.
|
15
|
+
* Callers can provide a (_soon_) **custom comparison** function to override the sort order.
|
16
|
+
* The basic operations are Put(key,value), Get(key), Delete(key).
|
17
|
+
* Multiple changes can be made in one **atomic batch**.
|
18
|
+
* Users can create a **transient snapshot** to get a consistent view of data.
|
19
|
+
* _Forward_ and _backward_ iteration is supported over the data.
|
20
|
+
* Data is automatically **compressed** using the **Snappy** compression library.
|
21
|
+
* External activity (file system operations etc.) is relayed through a virtual
|
22
|
+
interface so users can customize the operating system interactions.
|
23
|
+
* Detailed documentation about how to use the library is included
|
24
|
+
with the [source code](http://code.google.com/p/leveldb/).
|
25
|
+
|
26
|
+
## Reading
|
27
|
+
|
28
|
+
* [LevelDB](http://code.google.com/p/leveldb/)
|
29
|
+
* [Great Reading](http://skipperkongen.dk/2013/02/14/having-a-look-at-leveldb/)
|
8
30
|
* [Website](http://daddye.it/leveldb)
|
9
|
-
* [Api Doc](http://daddye.it/leveldb/doc)
|
10
31
|
|
11
32
|
## Installation
|
12
33
|
|
data/lib/leveldb/version.rb
CHANGED
data/lib/native.rb
CHANGED