Giter VIP home page Giter VIP logo

supersimplefiledatabase's Introduction

Super Simple File Database

base on B-tree, interface is simple

超简单的文件数据库

  • 基于B-tree实现的Key–value文件数据库。
  • 接口简单,一共六个接口,创建数据库、打开数据库、关闭数据库、插入操作、查询操作、删除操作。
  • 创建文件数据库时,可指定关键字为string、bytes、int32、int64类型之一。
  • 只有一个数据库文件,并且实现了文件块的分配与回收,删除操作将文件块标记为空闲,插入操作优先分配空闲文件块。

Demo

make
./filedb

如何解决崩溃一致性 Crash Consistency

  1. 如何发现不一致
  2. 如何恢复一致性

supersimplefiledatabase's People

Contributors

liuyuguang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

liexusong

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.