Giter Site home page Giter Site logo

wangchengqun / exastore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/exastore

0.0 3.0 0.0 694 KB

K-V storage engine with low memory cost and low write amplification

License: Other

TLA 6.81% PowerShell 0.88% C++ 90.52% Roff 1.31% C 0.45% Batchfile 0.02%

exastore's Introduction

Exabyte Store

A Key-Value pair storage engine that is the basic building block of large scale low cost storage solutions.

Why Another Store?

Log Structured Merge tree (LSM) is the dominant choice of data organization in storage engines. LSMs insist on storing records sequentially by constantly sorting them, racking up high write amplifications, wasting vast majority of the available I/O bandwidth and hurting SSD life.

Exabyte Store uses an innovative hash based index for high performance and low cost. ExaStore consumes on average 3 bytes DRAM per key, and achives much lower write amplifications since we don't have to sort the data all the time.

More detailed discussion can be found in the blogs below.

Code

Our goal is to build a low cost, distributed and replicated storage system. Currently only the single node storage engine is finished.

Unlike RocksDB, ExaStore is not a linkable libary in its current form. It is built as a stand alone exe accepting read and write request via UDP.

Currently ExaStore is Windows based, where IOCP provides is pretty nice in keeping CPU usage down. All the code is under directory src. The easiest way to compile the code is open Exabytes.sln using Visual Studio.

Under Solution Exabytes, ExaServer project compiles into the stand alone exe which is the storage engine. ExaBroker compiles into a library that knows how to communicate with the storage engine using UDP protocol. FixedServerTestClient is a modified db_bench (derived from RocksDB) that serves as a performance test engine. EBTest contains unit tests. UdpTestApp and UdpTestClient are test programs for a network transportation protocol built on top of UDP.

Specification

To ensure the correctness of the network related component, we rely on formal specification and model checking tool TLA+. There are two specs under directory spec, one is an UDP based network protocol that allows you to transport data larger than a single UDP packet. The second is the replication protocol.

Documents

Design documents can be found in design directory. Store.md file describe high level design of the storage server. Documents under Manager directory are related to planed Exabyte Manager component that orchestrate a distributed storage solution.

exastore's People

Contributors

chenfu-cn avatar

Watchers

James Cloos avatar wangchengqun avatar  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.