Coder Social home page Coder Social logo

xieus / chogori-sql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from futurewei-cloud/chogori-sql

0.0 0.0 0.0 46.36 MB

Horizontally scalable SQL Service built upon Chogori-Platform SKV storage

License: Other

Shell 0.18% Ruby 0.56% C++ 2.69% Python 0.18% Perl 2.04% C 84.45% Emacs Lisp 0.01% Assembly 0.01% XSLT 0.14% CSS 0.01% Makefile 0.76% CMake 0.01% XS 0.02% PLpgSQL 6.72% DTrace 0.01% Batchfile 0.02% Yacc 1.47% Lex 0.47% M4 0.25% Dockerfile 0.01%

chogori-sql's Introduction

Project description

The Chogori-SQL project is a horizontally scalable SQL service with disaggregated storage provided by the Chogori-Platform(https://github.com/futurewei-cloud/chogori-platform) SKV storage service with focus on performance provided by in-memory data handling and fast, kernel bypass network processing. Our main achievement is that we were able to take the industry-standard SQL engine PostgreSQL and rewrite its storage layer to use our novel K23SI transaction protocol with our rich, schema-aware data model - SKV

Key features

  • Horizontally scalable multi-reader/multi-writer architecture
  • Industry-standard SQL support thanks to the PostgreSQL engine
  • Much improved consistency (Serializable Snapshot Isolation with External Causal Consistency to be more precise) is used in all transactions, thanks to the consistency guarantees provided by the Chogori-Platform SKV service
  • Full TPC-C compatibility for all transaction types with 1806.3 transactions per minute / per core(tpmc).
  • Performance more than 2x better than the nearest competitor (YugabyteDB) on the TPC-C suite
  • Initial Near-Data-Processing effort with computation push-down from SQL to SKV layer, including predicate filtering, projection, and scan prefix bounds.

Credits

Our work was made possible thanks to YugabyteDB's open source initiative Home | YugabyteDB . This project builds upon PostgreSQL and served as a great starting point to instruct us on how to integrate our custom storage engine with PostgreSQL.

Getting Started

We've provided a dockerfile which specifies all dependencies needed to build and run our code. Please see docker/README.md

chogori-sql's People

Contributors

ivan-avramov avatar jerryhfeng avatar jfunston avatar johnfangafw avatar raduvine 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.