]> git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/utilities/redis/README
build: use dgit for download target
[ceph.git] / ceph / src / rocksdb / utilities / redis / README
1 This folder defines a REDIS-style interface for Rocksdb.
2 Right now it is written as a simple tag-on in the rocksdb::RedisLists class.
3 It implements Redis Lists, and supports only the "non-blocking operations".
4
5 Internally, the set of lists are stored in a rocksdb database, mapping keys to
6 values. Each "value" is the list itself, storing a sequence of "elements".
7 Each element is stored as a 32-bit-integer, followed by a sequence of bytes.
8 The 32-bit-integer represents the length of the element (that is, the number
9 of bytes that follow). And then that many bytes follow.
10
11
12 NOTE: This README file may be old. See the actual redis_lists.cc file for
13 definitive details on the implementation. There should be a header at the top
14 of that file, explaining a bit of the implementation details.