Giter Site home page Giter Site logo

mybitcask's Introduction

English

yesdb

yesdb

  • 一个基于Bitcask的KV存储引擎

编译说明

  • C++17

  • 所有第三方包都是采用源码编译

  • 已适配Ninja生成器

    关键特性

  • 压缩

  • 合并

性能指标

===============================================================================
   Name (baseline is *)   |   Dim   |  Total ms |  ns/op  |Baseline| Ops/second
===============================================================================
               put_test * |     100 |     0.787 |    7873 |      - |   127010.9
               put_test * |    1000 |     2.984 |    2984 |      - |   335083.2
               put_test * |   10000 |    26.584 |    2658 |      - |   376173.2
===============================================================================

依赖包

  • 依赖包都在cmake目录下,有对应的源码链接。

编译

cmake -B build
cmake --build build

运行

./bin/gtest_test

数据模型

/*
* +-------+--------+--------+----------+-----+-------+
* | crc32 | tstamp | key_sz | value_sz | key | value | 
* +-------+--------+--------+----------+-----+-------+
*/

mybitcask's People

Contributors

syaojun avatar alphazhao avatar

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.