Giter Club home page Giter Club logo

distributed-system's Introduction

Distributed System Course

Go Report Card MIT license GoDoc

The fantastic experiment for education on distributed system, including the ubiquitous communication over the Web, classic techniques for scaling and efficient storage and a popular application case, aims to incredibly capture the essences of the difficult but useful distributed system theory, such as the two-phase protocol and the paxos consensus protocol. It covers the common technique issues almost in all the distributed systems, including communication, data consistency, parallism, concurrence, replication. The techniques take attentions on the performance, fault-tolerance, scaling and user-friendliness, which are important metrics for distributed systems.

Modules or library

  1. HTTP library over TCP and Unix domain socket
  2. 2PC library.
  3. Tiny key-value storage module.
  4. Transcation-supported shopping web service module over the sharded key-value storage.
  5. Paxos library.
  6. Key-value storage module over paxos.
  7. Utility for the resouce pool.
  8. A final system, including web service, sharded and replicated key-value storage.

Testing

Every package has its unit test for functions and performance. (TODO) The final system will be tested in a container-style way.

Tips for students

  1. "// You may add code here". Not necessary, but you can do it.
  2. "// TODO Your code here". Necessary.

distributed-system's People

Contributors

anaczeng avatar andrewlee302 avatar

Stargazers

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

Watchers

 avatar  avatar

distributed-system's Issues

Paxos support holes in RSM to improve performance.

Now replicated state machine is moving on serially in the local process. Actually, multiple values can be proposed in parallel by one proposer to improve performance, if there is no constraints on the order of the values. But the holes may show up if some values with less seq are decided later than ones with higher seq. How to deal with the RSM if the holes are permitted?

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.