Skip to content

SonyaStern/ID2203_WebServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paxos

In this project, you will build a web server that is made fault-tolerant using omnipaxos. The web server should be accessed via REST or gRPC and store some data that is accessed in a consistent manner. Furthermore, let each node maintain some statistics on the number of requests they have handled, and make the node with the most requests take over leadership when it passes a certain threshold.

  1. [Done] REST for client-server communication -> GET/POST store and
  2. [Done] Access data in a consistent manner -> Async tests + checked decided idx
  3. [Done] Key/Value
  4. [In Progress] Snapshot
  5. Node statistics -> state logs
  6. Leader with higher requests, threshold -> leader_priority
  7. [In Progress] Testing cases -> https://doc.rust-lang.org/book/ch11-01-writing-tests.html
  8. [In Progress] Fault-tolerant -> Fail recovery tutorial
  9. [In Progress] Report

Optional

  1. Add Post snapshot
  2. Add delete
  3. Add CAS

TODO:

  1. Update storage ro have multiple instances to simulate replication
  2. Read majority

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published