You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
rocksdb/utilities/redis
Dmitri Smirnov 18285c1e2f Windows Port from Microsoft 10 years ago
..
README Change namespace from leveldb to rocksdb 11 years ago
redis_list_exception.h rocksdb: Add missing override 10 years ago
redis_list_iterator.h Turn on -Wshorten-64-to-32 and fix all the errors 10 years ago
redis_lists.cc RocksDBLite 11 years ago
redis_lists.h RocksDBLite 11 years ago
redis_lists_test.cc Windows Port from Microsoft 10 years ago

README

This folder defines a REDIS-style interface for Rocksdb.
Right now it is written as a simple tag-on in the rocksdb::RedisLists class.
It implements Redis Lists, and supports only the "non-blocking operations".

Internally, the set of lists are stored in a rocksdb database, mapping keys to
values. Each "value" is the list itself, storing a sequence of "elements".
Each element is stored as a 32-bit-integer, followed by a sequence of bytes.
The 32-bit-integer represents the length of the element (that is, the number
of bytes that follow). And then that many bytes follow.


NOTE: This README file may be old. See the actual redis_lists.cc file for
definitive details on the implementation. There should be a header at the top
of that file, explaining a bit of the implementation details.