Thursday, May 25, 2023

[NEW] databases/bbolt

Hello,

Please find databases/bbolt port attached.
https://pkg.go.dev/go.etcd.io/bbolt

It was nice to have it on hand while recovering corrupted Consul/Vault
databases after power outage.

OK to import?

From pkg/DESCR:
Package Bbolt implements a low-level key/value store in pure Go. It supports
fully serializable transactions, ACID semantics, and lock-free MVCC with
multiple readers and a single writer. Bolt can be used for projects that want a
simple data store without the need to add large dependencies such as Postgres or
MySQL.

Bolt is a single-level, zero-copy, B+tree data store. This means that Bolt is
optimized for fast read access and does not require recovery in the event of a
system crash. Transactions which have not finished committing will simply be
rolled back in the event of a crash.

The design of Bolt is based on Howard Chu's LMDB database project.

--
With best regards,
Pavel Korovin

No comments:

Post a Comment