Hacker GitHub

← All repos

boltdb/bolt

View on GitHub ↗ ★ 14,628 Go archived

An embedded key/value database for Go.

26 mentions on Hacker News by 19 people: 1 story, 25 comments · first 2014-05-12 · latest 2023-06-16

Mentions per year 26 mentions · busiest year 2014 (7)
20082026
  1. …who is now working on https://litestream.io/ and https://fly.io/ He's the one who wrote BoltDB https://github.com/boltdb/bolt I just put a relatively thin layer on top of it. Now, to address your point more directly: I'm too stupid to…
    comment by hsn915 · 2023-06-16 · in The Stupid Programmer Manifesto
  2. …complex beasts and contain way more than you need. BoltDB is a good project to read the source of https://github.com/boltdb/bolt , the whole thing is <10k lines of code and is a full blown production grade system with ACID semantics so…
  3. The litestream project was created by https://github.com/benbjohnson who wrote https://github.com/boltdb/bolt (a key value store) which has been instrumental (from my point of view) in the Go community as one of the original choices for an…
    comment by Xeoncross · 2022-04-01 · in A database for 2022
  4. …there's no reason why a data storage engine can't be a library, even if it's distributed. [0]: https://github.com/boltdb/bolt [1]: https://github.com/rqlite/rqlite
    comment by hsn915 · 2022-02-10 · in Single dependency stacks
  5. Check out this: https://github.com/boltdb/bolt Always been considered a good example to study.
  6. https://github.com/boltdb/bolt https://github.com/jung-kurt/gofpdf
  7. I doubt they'd claim to be perfectly "bug free" but this came to mind reading your post: https://github.com/boltdb/bolt
  8. …https://github.com/benbjohnson ) presentation on Raft is great. He is also the creator of BoltDB ( https://github.com/boltdb/bolt ) which is a core component of Hashiscorp's Raft implementation ( https://github.com/hashicorp/raft ).
  9. https://github.com/boltdb/bolt seems very similar.
  10. Does it need to be relational? Perhaps boltdb could do it https://github.com/boltdb/bolt
    comment by np_tedious · 2019-07-26 · in SFTPGo: A Full Featured SFTP Server in Go
  11. …https://sourcegraph.com/github.com/camlistore/camlistore@mas... https://sourcegraph.com/github.com/boltdb/bolt@master/-/blob... https://sourcegraph.com/github.com/go-kit/kit/-/blob/example...
    comment by beliu · 2017-06-01 · in Ask HN: Good Go codebases to read?
  12. …key/value store library. I found it to be clear, idiomatically written, and well annotated. [1]: https://github.com/boltdb/bolt
    comment by tylerchr · 2017-06-01 · in Ask HN: Good Go codebases to read?
  13. …Bolt is probably overkill. There's whole section on the BoltDB README about when not to use Bolt: https://github.com/boltdb/bolt#caveats--limitations > It is just badly implemented, acquires a global mutex lock across all reads and writes.…
  14. …offer transactions and stuff like that (on purpose). It seems to be more low-level in some regards. https://github.com/boltdb/bolt
  15. …of in-process 'databases' for Go starting from a simple built-in map and ending with something like https://github.com/boltdb/bolt or even https://github.com/hashicorp/go-memdb .
    comment by valyala · 2016-06-21 · in Iris: Fast back-end web framework for Go
  16. …https://github.com/lib/pq [2] https://github.com/gocraft/dbr [3] https://github.com/jinzhu/gorm [4] https://github.com/boltdb/bolt
    comment by piotrkubisa · 2016-06-21 · in Iris: Fast back-end web framework for Go
  17. The corruption I was talking about is this one: https://github.com/boltdb/bolt/issues/348
  18. …helped us track down the problem and quickly provided a patch. Thanks Ben! The bug in question: https://github.com/boltdb/bolt/pull/452
  19. …(even my personal packages are not). Consider this sample of third-party packages from one of my project: github.com/boltdb/bolt github.com/dchest/cache github.com/dchest/conf github.com/dchest/validator github.com/hashicorp/logutils…
  20. …loading where corruption is typically less of an issue (since you can simply rebuild). https://godoc.org/github.com/boltdb/bolt#DB The wording was intended to make it sound like an improvement for people wanting smaller, more concise code…
    comment by benbjohnson · 2014-12-11 · in Bolt: A low-level key/value database for Go
  21. I just added it: https://github.com/boltdb/bolt#managing-transactions-manuall...
    comment by benbjohnson · 2014-12-11 · in Bolt: A low-level key/value database for Go
  22. Thanks for the suggestion. I added it to the README (33e7a07): https://github.com/boltdb/bolt#managing-transactions-manuall... The "defer tx.Rollback()" makes me cringe a little since it's confusing when you read the code top-down. It also…
    comment by benbjohnson · 2014-12-11 · in Bolt: A low-level key/value database for Go
  23. …that aren't available in Bolt (e.g. WRITEMAP, NOMETASYNC). There's more detail in the README: https://github.com/boltdb/bolt#lmdb Bolt was originally just a side project but we found that it fit our needs for our analytics database so we…
    comment by benbjohnson · 2014-12-11 · in Bolt: A low-level key/value database for Go
  24. …if you find anything confusing and I can update the documentation to make it more clear. http://godoc.org/github.com/boltdb/bolt#DB.Begin
    comment by benbjohnson · 2014-12-11 · in Bolt: A low-level key/value database for Go
  25. ▲ 155
    Bolt: A low-level key/value database for Go
    story by sciurus · 2014-12-11 · 46 comments
  26. thats interesting! since Consul / Serf are written in Go.. have you considered using boltdb? https://github.com/boltdb/bolt it's an LMDB implementation in Go, really clean code.