Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevin85421/cloud-computing-concepts-part-1
Coursera course : https://www.coursera.org/specializations/cloud-computing
https://github.com/kevin85421/cloud-computing-concepts-part-1
cloud-computing-concepts coursera uiuc
Last synced: 17 days ago
JSON representation
Coursera course : https://www.coursera.org/specializations/cloud-computing
- Host: GitHub
- URL: https://github.com/kevin85421/cloud-computing-concepts-part-1
- Owner: kevin85421
- Created: 2018-10-28T18:16:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-13T07:50:15.000Z (about 6 years ago)
- Last Synced: 2024-11-30T02:12:38.898Z (22 days ago)
- Topics: cloud-computing-concepts, coursera, uiuc
- Language: C++
- Size: 1.02 MB
- Stars: 21
- Watchers: 3
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloud-Computing-Concepts-Part-1 :
* https://www.coursera.org/specializations/cloud-computing# What is the project?
* The project is about implementing a **Gossip Protocol**.
* The main functionalities of the project :
* **Introduction** :
Each new peer contacts a well-known peer (the introducer) to join the group.
* **Membership** :
A membership protocol satisfies completeness all the time (for joins and failures), and accuracy when there are no message delays or losses (high accuracy when there are losses or delays).
# Detail & Principle :
* Data Structure of Message :
```cpp
typedef struct MessageHdr {
enum MsgTypes msgType;
vector< MemberListEntry> member_vector; // membership list of source
Address* addr; // the source of this message
}MessageHdr;
```
* Principle of **Gossip Protocol** :
[reference](https://zhuanlan.zhihu.com/p/39703992)![image](https://github.com/kevin85421/Cloud-Computing-Concepts-Part-1/blob/master/gossip.jpg)
# How do I run the Grader on my computer ?
* There is a grader script GraderNew.sh. It tests your implementation of membership protocol in 3 scenarios.
* Single node failure
* Multiple node failure
* Single node failure under a lossy network.
```
$ chmod +x GraderNew.sh
$ ./GraderNew.sh
```
# Result
* Points achieved: 90 out of 90 [100%]