meta/rocksdb
View on GitHub ↗ ★ 32,241 C++
A library that provides an embeddable, persistent key-value store for fast storage.
58 mentions on Hacker News by 52 people: 9 stories, 49 comments · first 2013-11-15 · latest 2026-06-18
20082026
-
…a file (i.e. segment). You can write your compaction code via compaction_filter_factory defined in https://github.com/facebook/rocksdb/blob/master/include/rock... 2. RocksDb also has a feature that allows an application to close a block…
comment by dhruba_b · 2013-11-16 · in RocksDB – A persistent key-value store for fast storage environments -
The benchmark at https://github.com/facebook/rocksdb/wiki/Performance-Benchma... states that for LevelDB, "in 24 hours it inserted only 2 million key-values", and that "each key is of size 10 bytes, each value is of size 800 bytes". I…
comment by wbolster · 2013-11-15 · in RocksDB – A persistent key-value store for fast storage environments -
That link should be: https://github.com/facebook/rocksdb/blob/master/db/db_impl.c... (not db_impl.c but .cc) I was wondering for a while if it was possible to do RAII in idiomatic c99 -- and it appears it isn't (or doesn't make as much…
comment by e12e · 2013-11-15 · in RocksDB – A persistent key-value store for fast storage environments -
fixed your link: https://github.com/facebook/rocksdb/blob/master/db/db_impl.c... Take another look! There's a guard object used at the function scope to ensure the lock is released, and this block is bracketed to release and reacquire the…
comment by tsewlliw · 2013-11-15 · in RocksDB – A persistent key-value store for fast storage environments -
I'm surprised that the C++ code is not using the RAII idiom in some obvious places. For example: https://github.com/facebook/rocksdb/blob/master/db/db_impl.c There are many places with bracketed calls to mutex_.Lock and mutex_.Unlock(). An…
comment by Patient0 · 2013-11-15 · in RocksDB – A persistent key-value store for fast storage environments -
Very nice work, and the wiki is also quite nice -- I wish more projects had a page like https://github.com/facebook/rocksdb/wiki/Rocksdb-Architectur... . It's really nice to see a clear, terse summary of what makes this project interesting…
comment by snewman · 2013-11-15 · in RocksDB – A persistent key-value store for fast storage environments -
https://github.com/facebook/rocksdb/issues/new is a 404. Appreciated when project is on github and open for issues/PR, etc.
comment by droid5 · 2013-11-15 · in RocksDB – A persistent key-value store for fast storage environments -
▲ 9
rocksdb: Embedded key-value store for fast storagestory by dylanvee · 2013-11-15 · 1 comment