Hacker GitHub

← All repos

google/leveldb

View on GitHub ↗ ★ 39,516 C++

LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.

27 mentions on Hacker News by 24 people: 2 stories, 25 comments · first 2015-02-23 · latest 2026-01-15

Mentions per year 27 mentions · busiest year 2021 (5)
20082026
  1. …around its runtime and its memory allocator that means we can’t reuse an existing library. 1: https://github.com/google/leveldb 2: https://github.com/scylladb/seastar 3: https://github.com/redpanda-data/redpanda/pull/28351
  2. …file systems, the database could become corrupted after a crash or power failure.[21]..." https://github.com/google/leveldb/issues?utf8=%E2%9C%93&q=co... https://bugs.chromium.org/p/chromium/issues/detail?id=261623…
  3. Google didnt, thus Chrome started replacing sqlite with https://github.com/google/leveldb
  4. LevelDB by Jeff and Sanjay. https://github.com/google/leveldb
    comment by danielmarkbruce · 2022-09-11 · in Ask HN: What's the best source code you've read?
  5. leveldb https://github.com/google/leveldb
  6. …https://etcd.io/docs/v3.4/learning/why/ https://riak.com/products/riak-kv/ https://rocksdb.org/ https://github.com/google/leveldb http://www.memcached.org/
  7. LevelDB: https://github.com/google/leveldb
  8. +1000 https://github.com/google/leveldb Jeff Dean and Sanjay Ghemawat are amazing engineers and this code is (/was?) nice.
    comment by danielmarkbruce · 2022-03-21 · in Ask HN: Codebases with great, easy to read code?
  9. You seem to be describing leveldb: https://github.com/google/leveldb
    comment by Sammi · 2021-12-31 · in Consider SQLite
  10. …out redis's implementation: https://github.com/redis/redis/blob/unstable/src/t_zset.c Or leveldb's: https://github.com/google/leveldb/blob/master/db/skiplist.h
  11. This is the "secret sauce" behind LevelDB: https://github.com/google/leveldb#performance
  12. …[2] hash-sharding means: piece[i] has all the keys where hash(key) % N = i. [3] https://github.com/google/leveldb/blob/master/doc/table_form... although they just say "formatted according to the code in block_builder.cc" instead of descri
  13. To avoid some confusion, this is only the "distributed" part. The actual store is handled by the https://github.com/google/leveldb library.
  14. …authors are Jeff Dean and Sanjay Ghemawat, so you know it's going to be really well written. https://github.com/google/leveldb
    comment by MorganGallant · 2020-10-28 · in Ask HN: Good C++ code bases to read?
  15. …used C++ project, written by the same people who wrote core parts of Google Search 20 years ago: https://github.com/google/leveldb
    comment by chubot · 2020-03-12 · in Google Open Source Code Search
  16. Powered by LevelDB ( https://github.com/google/leveldb )
  17. …like OS X's "no really, fsync" param [1], or Motorola shipping nobarrier on their phones. [2] [1] https://github.com/google/leveldb/issues/203#issuecomment-55... [2] http://taras.glek.net/post/Followup-on-Pixel-vs-Moto:fsync/
    comment by charleslmunger · 2019-05-29 · in A way to do atomic writes
  18. …I like leveldb (a key-value DB library) and re2 (a regex engine). Random files from each of them: https://github.com/google/leveldb/blob/master/table/table_bu... https://github.com/google/re2/blob/master/re2/nfa.cc
  19. I think the open-source equivalent of RecordIO is the leveldb log format: https://github.com/google/leveldb/blob/master/doc/log_format... https://github.com/google/leveldb/blob/master/db/log_reader....…
  20. …of a single Bigtable tablet[2]. [0]: https://news.ycombinator.com/item?id=13854431 [1]: https://github.com/google/leveldb [2]: http://research.google.com/archive/bigtable.html , section 5.3
    comment by irfansharif · 2017-10-02 · in Interesting Codebases
  21. https://github.com/google/leveldb
  22. …tiny codebase at that, used virtually everywhere and the basis for facebook/rocksdb[2]. [1]: https://github.com/google/leveldb [2]: https://github.com/facebook/rocksdb
    comment by irfansharif · 2017-03-13 · in Ask HN: What are some examples of good code?
  23. …reported against LevelDB, a database system developed at Google, was discovered using QuickCheck: https://github.com/google/leveldb/issues/50 . You can read more about it at http://htmlpreview.github.io/?https://raw.github.com/strange...
  24. Is LevelDB linked in this article related to leveldb developed at Google ( https://github.com/google/leveldb ) ?
  25. …use LevelDB... we use the SSTables that underly LevelDB. Since we know we're write-once, we use https://github.com/google/leveldb/blob/master/include/leveld... directly for writes (and its Go equivalent for reads). I'm familiar with the…