Giter Club home page Giter Club logo

anvil_db's Introduction

README

AnvilDB is an embedded key-value store that is optimized for fast writes and sequential scans. It's design is based on LevelDB and RocksDB. Like those two database's, AnvilDB uses an LSM-Tree with a write-ahead log and a stack of SSTable files comprising the underlying storage layer. However, whereas RocksDB is forked from LevelDB, AnvilDB is a implemented from scratch in Rust.

Contributing

This library uses the MIT license, a permissive license. See the LICENSE.txt file in this directory for more details.

If you read the code, most of the vocabulary used is taken from the BigTable paper, with the main exception being that the files that the database uses are called "SSTables" in the BigTable paper, but they are called "SSTs" throughout this code base.

Feel free to raise GitHub issues on this repo, but please reach out to me before you put too much work into opening a PR.

anvil_db's People

Contributors

georgesaussy avatar

Stargazers

Colum avatar

Watchers

 avatar

anvil_db's Issues

FEAT: cloud blob storage backend

I see your code is already abstracted in a way that should permit blob storage backends; I have just recently been looking at a use case where an embedded DB backed in cloud blob stores would be a perfect fit : would adding feature flagged drivers for S3/GCS/AzureBlobs be of interest ?

The only - but not so small - issue is that your code is all synchronous, and the non-local nature of cloud blob stores very much encourages async code : all the native drivers for cloud blob stores are built on async, and wrapping sync on async doesn't usually work that nicely.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.