Git Product home page Git Product logo

spanner-made-simple's Introduction

Spanner Made Simple

This is a course project for CS274 (Winter 2013) in UCSB, given by Prof. Divyakant Agrawal. We are trying to implement the replication and transactional part of Google Spanner, described in the recently published paper.

Overview

Suppose we have 3 replicas, and each replica is partitioned into 2 shards. Partitions in different replicas with the same key range form a Paxos group, and for each Paxos group there is a leader. In this case, we have 2 leaders, and the 2 leaders are coordinated with a 2-Phase Commit (2PC) protocol.

What we need to do is to feed the system with a sequence of operations, and replicate these operations in order to all replicas. We need to provide the Paxos log and operation log at last to see the correctness of the replication.

spanner-made-simple's People

Contributors

susutou avatar yangboufo avatar

Watchers

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