GithubHelp home page GithubHelp logo

kevin85421 / cloud-computing-concepts-part-2 Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 1.0 461 KB

Coursera course : https://www.coursera.org/specializations/cloud-computing

C++ 81.19% Shell 14.90% Makefile 1.14% C 0.24% Python 2.53%
coursera cloud-computing-concepts uiuc

cloud-computing-concepts-part-2's Introduction

Cloud-Computing-Concepts-Part-2

Coursera course : https://www.coursera.org/specializations/cloud-computing

What is the project?

  • Building a Fault-Tolerant Key-Value Store.

  • The main functionalities of the Key-Value Store :

    • CRUD operations : A key-value store supporting CRUD operations (Create, Read, Update, Delete).
    • Load-balancing : via a consistent hashing ring to hash both servers and keys.
    • Fault-tolerance up to two failures : by replicating each key three times to three successive nodes in the ring, starting from the first node at or to the clockwise of the hashed key.
    • Quorum consistency level for both reads and writes (at least two replicas).
    • Stabilization : after failure (recreate three replicas after failure).

Principle of Fault-Tolerant Key-Value Store :

image

How do I run the Grader on my computer ?

  • There is a grader script KVStoreGrader.sh. The tests include:
    • Basic CRUD tests that test if three replicas respond
    • Single failure followed immediately by operations which should succeed (as quorum can still be reached with 1 failure)
    • Multiple failures followed immediately by operations which should fail as quorum cannot be reached
    • Failures followed by a time for the system to re-stabilize, followed by operations that should succeed because the key has been re-replicated again at three nodes.
	$ chmod +x KVStoreGrader.sh
	$ ./KVStoreGrader.sh

Result

  • Points achieved: 90 out of 90 [100%]

cloud-computing-concepts-part-2's People

Contributors

kevin85421 avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

kylebrogdon

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.