github.com/barrucadu/logdb

An efficient log-structured database supporting efficient insertion of new entries and removal from either end of the log.


License
MIT
Install
go get github.com/barrucadu/logdb

Documentation

logdb Build Status Report Card Coverage Status GoDoc

LogDB is a Go library for efficient log-structured databases. A log-structured database is a very simple data store where writes are only ever appended to the database, there are no random-access writes at all. To prevent the database from growing indefinitely, a contiguous chunk of entries can be removed from either the beginning or the end.

This library is efficient and provides ACID consistency guarantees: an entry is either stored or it is not, even in the event of power loss during execution the database cannot be left in an inconsistent state.

The godoc is available online.

Project Status

Very early days. The API is unstable, and everything is in flux.

Contributing

Bug reports, pull requests, and comments are very welcome!

Feel free to contact me on GitHub, through IRC (on freenode), or email (mike@barrucadu.co.uk).