Skip to content

gtshepard/capstone-distributed-systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Systems Research

Table of Contents

  1. Case Studies
    1. Map Reduce
    2. View Service
    3. Primary Backup
    4. Directory Tree

Case Studies

  • Assuming project cloned to home directory
  • export GOPATH=$HOME/capstone-distributed-systems

Map Reduce

  • to view source code
    • cd $HOME/capstone-distributed-systems/src/mapreduce
  • Part 1 Test Cases
    • cd $HOME/capstone-distributed-systems/src/main
    • ./test-wc.sh
  • Part 2 and 3 Test Cases
    • cd $HOME/capstone-distributed-systems/src/mapreduce
    • go test

View Service

- to view source code 
    - ```cd $HOME/capstone-distributed-systems/src/viewservice ```
- ``` cd $HOME/capstone-distributed-systems/src/viewservice ```
- go test 

Primary Backup Service

 - to view source code 
    - ```cd $HOME/capstone-distributed-systems/src/pbservice ```
-  cd $HOME/capstone-distributed-systems/src/pbservice
-  go test -run BasicFail
-  go test -run AtMostOnce 
-  go test -run FailPut
-  go test -run ConcurrentSame 
-  go test -run ConcurrentSameUnreliable 
-  go test -run Partition1 
-  go test -run Partition2

do not run go test, becuase it runs all tests. RepeatedCrash and RepeatedCrashUnrebiable do not pass. all others pass

Directory Tree

  • A Directory Tree For Case Studies
     capstone-distributed-systems
     │   README.md
     └───src 
     |   └─── main  
     │   │ test-wc.sh
     |   | kjv12.txt
     |   | wc.go
     │
     └─── mapreduce 
     │   │ common.go
     │   │ mapreduce.go
     |   | master.go
     |   | test_test.go
     |   | worker.go
     |
     └─── viewservice 
     |   | client.go 
     |   | common.go
     |   | server.go
     |   | test_test.go
     |
     └─── pbservice 
         | client.go
         | common.go
         | server.go
         | test_test.go     
   ```

About

Distributed Key/Value Service with Primary/Backup protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages