SlideShare a Scribd company logo
1 of 23
Download to read offline
Towards a Decentralized Voting Mechanism for
P2P Collaboration Systems (paper as an example)
Thomas Bocek, Dalibor Peric, Fabio Victora Hecht, David Hausheer, Burkhard Stiller
University of Zurich, Switzerland
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
1
• Introduction, related work, Contributions.
2
• PeerVote Design, Storage Design.
3
• Voting Algorithm and Data Structure, Voting Scheme Example.
4
• P2P Collaboration Application Implementation, Simulation and Experimental
Settings .
5
• Simulation Results and Discussion, Experimental Results and Discussion,
Comparison of Experimental and Simulation Results.
6
• Conclusions, and Future Work.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
Computer Systems
Distributed SystemsCentralized Systems
(mainframes, workstations)
pure
Peer to PeerClient - server
Hierarchical HybridFlat
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
P2P systems
File sharing Collaboration platformsDistributed
Computing
 Peer-to-peer (P2P) systems inherently support redundancy,
scalability, fault tolerance, and load balancing P2P systems
support these features at a lower cost than client/server
systems.
 In a P2P collaboration system, users share the resources
necessary to host and distribute articles that can be modified
by any other user such as Wikipedia .
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
 Proposes a content-driven reputation system for Wikipedia,
which is based on automatic analysis of edit-changes of
Wikipedia articles and side-steps any user-based rating.
 Different voting and consensus reaching algorithms have been
proposed, with distributed systems and electronic voting as
their main applications.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
 A major challenge in P2P collaboration systems, is to maintain
article quality after each modification at the presence of
malicious peers.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
 The contribution of this paper the fully decentralized voting
mechanism Peer- Vote, which enables users to vote on
modifications in articles in a P2P collaboration system.
Simulations and experiments show the scalability and
robustness of Peer Vote, even at the presence of malicious
peers.
 The proposed voting mechanism ensures that every
modification to a document has the approval from the
majority of previous editors. This helps to prevent vandalism,
editing wars, and deliberate censorship.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
 PeerVote defines six roles: tracker, storage, user, editor,
mediator and voter roles .
 Tracker Role: stores references to storage peers, evaluates voting meta
data, can reject references with wrong or inconsistent voting meta
data.
 Storage Role: stores and periodically (re-)publishes documents, carried
out by searching for close trackers to the document’s id and storing
addresses of storage peers and meta data.
 User Role: A user interacts via a user interface with its user peer. The
role of the user peer is to search for, download, and display
documents. If the user peers publish downloaded documents, they
will also become storage peers.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
 Editor Role: An editor peer has modified a document. The editor hands
over the change proposal to the mediator peer, which initiates the
voting session.
 Mediator Role: A mediator peer is responsible for a voting session.
 Voter Role: A voter peer can vote on a modified document.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
Storage of documents
Direct storage: as in CFS or Oceanstore,
stores the document on peers close to
this document’s id, The advantage of
direct storage is that a strategy can be
implemented to preserve unpopular
documents, a random peer stores the
document with no incentives to store it.
Indirect storage: using a tracker such as in
BitTorrent, a tracker based storage stores
a reference on peers close to the
document’s id. The advantages of the
tracker is that documents are stored on
peers that have either edited or viewed
that document.
PeerVote supports both approaches
 Voting Algorithm:
 A voting session is initiated, when an editor submits a proposal and
becomes a mediator.
 As a mediator, it starts the voting phase by sending the proposal to all
previous editors or to editors with many edits.
 These editors can vote, if the change shall be accepted. The voting
session is open for a specific amount of time. During this time, voters
can review and vote for or against the change.
 If a voter does not vote, it is considered as a negative vote. Thus, there
are no benefits of avoiding to contact peers for a review. A vote is
accepted, if signed voting results reach a threshold.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
 Data Structure :
 Storage and user peers need to evaluate the voting meta data to
detect unreviewed changes.
 The voting meta data in PeerVote consists of versioning information,
hash code of the content of the document, document identification,
and signed voting results.
 It is important to verify the consistency of previous voting sessions.
Otherwise, a malicious peer could replace, add, or drop signatures
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
 PeerVote has been implemented in a P2P collaboration
application. This P2P collaboration application is based on
TomP2P, a Distributed Hash Table (DHT) and tracker
implementation.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
 Publishing a new document requires first to search for a tracker, which
is responsible for storing the voting meta data and the reference to
the storage peer. A tracker is responsible for a document.
 Downloading a document After those trackers are found, addresses
and voting meta data are downloaded.
 After a document is modified, all previous editors are requested to
review the change incoming method (). If a sufficient number of
voters have signed the modified document, the document is
published.
 For publishing a modified document, the tracker verifies voting meta
data as described in the addAndVerify (), If the verification is
successful, the reference to the modified document and voting meta
data will be stored.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
 Simulations and experiments have been run to investigate scalability,
fault tolerance,and robustness.
 This is performed by using various combinations of the following
parameters: number of nodes, number of malicious nodes, number of
voting sessions, and number of change proposals.
 All simulations have been performed on 2 Intel(R) Xeon(R) quad-core
CPUs, 2.83GHz, with a Java HotSpot(TM) 64-Bit Server, The simulation
required 2 days to complete.
 All experiments were run on 14 EMANICSLab machines. EMANICSLab
is a research network established among European research partners
and consists of 7 different partner sites.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
This means that for 100 peers, 30 change proposals are submitted for 20 documents.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
This indicates that the voting algorithm is scalable with an increasing number of peers.
Figure 10 shows the same constant behavior as in the simulation (cf. Figure 5).
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
This indicates that the voting traffic is independent of the number of peers. The voting
traffic is dependent on the number of documents (Figure 6) and the number of change
proposals (Figure 7).
Both figures show similar behavior . This indicates that the algorithm works similar
under real world conditions.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
The more malicious peers join, the more incorrect changes are present .
 This paper presented PeerVote, a decentralized voting mechanism in a
P2P collaboration application.
 Experiments and simulations with a prototypical implementation
showed that PeerVote is scalable and robust, even with the presence
of random and malicious voting peers.
 PeerVote is used for managing changes of a document in a
decentralized collaboration application, and PeerVote allows previous
authors to review changes.
 Future work will investigate how the PeerVote mechanism can be
combined with an incentive scheme.
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
Thanks, Questions?
P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri

More Related Content

Similar to Decentralized Voting P2P Systems

EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMSEFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMSijp2p
 
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMSEFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMSijp2p
 
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS ijp2p
 
A study of index poisoning in peer topeer
A study of index poisoning in peer topeerA study of index poisoning in peer topeer
A study of index poisoning in peer topeerIJCI JOURNAL
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Making Trust Relationship For Peer To Peer System With Secure Protocol
Making Trust Relationship For Peer To Peer System With Secure  ProtocolMaking Trust Relationship For Peer To Peer System With Secure  Protocol
Making Trust Relationship For Peer To Peer System With Secure ProtocolIJMER
 
Copy Of Part 4
Copy Of Part 4Copy Of Part 4
Copy Of Part 4raeshu
 
Recommendation System Using Social Networking
Recommendation System Using Social Networking Recommendation System Using Social Networking
Recommendation System Using Social Networking ijcseit
 
Costomization of recommendation system using collaborative filtering algorith...
Costomization of recommendation system using collaborative filtering algorith...Costomization of recommendation system using collaborative filtering algorith...
Costomization of recommendation system using collaborative filtering algorith...eSAT Publishing House
 
Analysis on Recommended System for Web Information Retrieval Using HMM
Analysis on Recommended System for Web Information Retrieval Using HMMAnalysis on Recommended System for Web Information Retrieval Using HMM
Analysis on Recommended System for Web Information Retrieval Using HMMIJERA Editor
 
Sort a self organizing trust model for peer-to-peer systems
Sort a self organizing trust model for peer-to-peer systemsSort a self organizing trust model for peer-to-peer systems
Sort a self organizing trust model for peer-to-peer systemsIEEEFINALYEARPROJECTS
 
JAVA 2013 IEEE NETWORKSECURITY PROJECT SORT: A Self-ORganizing Trust Model fo...
JAVA 2013 IEEE NETWORKSECURITY PROJECT SORT: A Self-ORganizing Trust Model fo...JAVA 2013 IEEE NETWORKSECURITY PROJECT SORT: A Self-ORganizing Trust Model fo...
JAVA 2013 IEEE NETWORKSECURITY PROJECT SORT: A Self-ORganizing Trust Model fo...IEEEGLOBALSOFTTECHNOLOGIES
 
Machine Learning and Social Participation
Machine Learning and Social ParticipationMachine Learning and Social Participation
Machine Learning and Social ParticipationYasodara Cordova
 
Movies recommendation system in R Studio, Machine learning
Movies recommendation system in  R Studio, Machine learning Movies recommendation system in  R Studio, Machine learning
Movies recommendation system in R Studio, Machine learning Mauryasuraj98
 
ARF foq2 Router Focus Group Report
ARF foq2 Router Focus Group ReportARF foq2 Router Focus Group Report
ARF foq2 Router Focus Group ReportFederated Sample
 
Platforms and Limits to Network Effects
Platforms and Limits to Network EffectsPlatforms and Limits to Network Effects
Platforms and Limits to Network EffectsDev Khare
 
ACM NOTERE 2008 - Kalman Graffi - From Cells to Organisms - Long-Term Guarant...
ACM NOTERE 2008 - Kalman Graffi - From Cells to Organisms - Long-Term Guarant...ACM NOTERE 2008 - Kalman Graffi - From Cells to Organisms - Long-Term Guarant...
ACM NOTERE 2008 - Kalman Graffi - From Cells to Organisms - Long-Term Guarant...Kalman Graffi
 
Bittorrent final seminar
Bittorrent final seminarBittorrent final seminar
Bittorrent final seminarChirodeep Das
 

Similar to Decentralized Voting P2P Systems (20)

EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMSEFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
 
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMSEFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
 
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
EFFECTIVE TOPOLOGY-AWARE PEER SELECTION IN UNSTRUCTURED PEER-TO-PEER SYSTEMS
 
A study of index poisoning in peer topeer
A study of index poisoning in peer topeerA study of index poisoning in peer topeer
A study of index poisoning in peer topeer
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Making Trust Relationship For Peer To Peer System With Secure Protocol
Making Trust Relationship For Peer To Peer System With Secure  ProtocolMaking Trust Relationship For Peer To Peer System With Secure  Protocol
Making Trust Relationship For Peer To Peer System With Secure Protocol
 
Copy Of Part 4
Copy Of Part 4Copy Of Part 4
Copy Of Part 4
 
Probabilistic Reasoner
Probabilistic ReasonerProbabilistic Reasoner
Probabilistic Reasoner
 
Recommendation System Using Social Networking
Recommendation System Using Social Networking Recommendation System Using Social Networking
Recommendation System Using Social Networking
 
Costomization of recommendation system using collaborative filtering algorith...
Costomization of recommendation system using collaborative filtering algorith...Costomization of recommendation system using collaborative filtering algorith...
Costomization of recommendation system using collaborative filtering algorith...
 
Analysis on Recommended System for Web Information Retrieval Using HMM
Analysis on Recommended System for Web Information Retrieval Using HMMAnalysis on Recommended System for Web Information Retrieval Using HMM
Analysis on Recommended System for Web Information Retrieval Using HMM
 
Sort a self organizing trust model for peer-to-peer systems
Sort a self organizing trust model for peer-to-peer systemsSort a self organizing trust model for peer-to-peer systems
Sort a self organizing trust model for peer-to-peer systems
 
JAVA 2013 IEEE NETWORKSECURITY PROJECT SORT: A Self-ORganizing Trust Model fo...
JAVA 2013 IEEE NETWORKSECURITY PROJECT SORT: A Self-ORganizing Trust Model fo...JAVA 2013 IEEE NETWORKSECURITY PROJECT SORT: A Self-ORganizing Trust Model fo...
JAVA 2013 IEEE NETWORKSECURITY PROJECT SORT: A Self-ORganizing Trust Model fo...
 
Machine Learning and Social Participation
Machine Learning and Social ParticipationMachine Learning and Social Participation
Machine Learning and Social Participation
 
Bit torrent and tracker
Bit torrent and trackerBit torrent and tracker
Bit torrent and tracker
 
Movies recommendation system in R Studio, Machine learning
Movies recommendation system in  R Studio, Machine learning Movies recommendation system in  R Studio, Machine learning
Movies recommendation system in R Studio, Machine learning
 
ARF foq2 Router Focus Group Report
ARF foq2 Router Focus Group ReportARF foq2 Router Focus Group Report
ARF foq2 Router Focus Group Report
 
Platforms and Limits to Network Effects
Platforms and Limits to Network EffectsPlatforms and Limits to Network Effects
Platforms and Limits to Network Effects
 
ACM NOTERE 2008 - Kalman Graffi - From Cells to Organisms - Long-Term Guarant...
ACM NOTERE 2008 - Kalman Graffi - From Cells to Organisms - Long-Term Guarant...ACM NOTERE 2008 - Kalman Graffi - From Cells to Organisms - Long-Term Guarant...
ACM NOTERE 2008 - Kalman Graffi - From Cells to Organisms - Long-Term Guarant...
 
Bittorrent final seminar
Bittorrent final seminarBittorrent final seminar
Bittorrent final seminar
 

More from Dr. Hamdan Al-Sabri

Software Requirements Engineering-Mind\Road Map
Software Requirements Engineering-Mind\Road MapSoftware Requirements Engineering-Mind\Road Map
Software Requirements Engineering-Mind\Road MapDr. Hamdan Al-Sabri
 
Model driven requirements engineering in the context of erp implementation
Model driven requirements engineering in the context of erp implementationModel driven requirements engineering in the context of erp implementation
Model driven requirements engineering in the context of erp implementationDr. Hamdan Al-Sabri
 
How to evaluate the scientific paper
How to evaluate the scientific paperHow to evaluate the scientific paper
How to evaluate the scientific paperDr. Hamdan Al-Sabri
 
Using a kmerp framework to enhance enterprise resource planning (erp) impleme...
Using a kmerp framework to enhance enterprise resource planning (erp) impleme...Using a kmerp framework to enhance enterprise resource planning (erp) impleme...
Using a kmerp framework to enhance enterprise resource planning (erp) impleme...Dr. Hamdan Al-Sabri
 
Development of e government a stope view
Development of e government a stope viewDevelopment of e government a stope view
Development of e government a stope viewDr. Hamdan Al-Sabri
 
E government an analysis of the present and suggestions for the future
E government an analysis of the present and suggestions for the futureE government an analysis of the present and suggestions for the future
E government an analysis of the present and suggestions for the futureDr. Hamdan Al-Sabri
 
Requirements engineering as a structured process
Requirements engineering as a structured processRequirements engineering as a structured process
Requirements engineering as a structured processDr. Hamdan Al-Sabri
 
Software requirements engineering problems and challenges erp implementation ...
Software requirements engineering problems and challenges erp implementation ...Software requirements engineering problems and challenges erp implementation ...
Software requirements engineering problems and challenges erp implementation ...Dr. Hamdan Al-Sabri
 
Information systems (is) undergraduate education
Information systems (is) undergraduate educationInformation systems (is) undergraduate education
Information systems (is) undergraduate educationDr. Hamdan Al-Sabri
 
Developing a research proposal in the field of software engineering model dri...
Developing a research proposal in the field of software engineering model dri...Developing a research proposal in the field of software engineering model dri...
Developing a research proposal in the field of software engineering model dri...Dr. Hamdan Al-Sabri
 
Requirements elicitation requirements engineering
Requirements elicitation requirements engineeringRequirements elicitation requirements engineering
Requirements elicitation requirements engineeringDr. Hamdan Al-Sabri
 
Software requirements engineering
Software requirements engineeringSoftware requirements engineering
Software requirements engineeringDr. Hamdan Al-Sabri
 
Exploratory data analysis data visualization
Exploratory data analysis data visualizationExploratory data analysis data visualization
Exploratory data analysis data visualizationDr. Hamdan Al-Sabri
 
Reference master data management
Reference master data managementReference master data management
Reference master data managementDr. Hamdan Al-Sabri
 

More from Dr. Hamdan Al-Sabri (20)

Software Requirements Engineering-Mind\Road Map
Software Requirements Engineering-Mind\Road MapSoftware Requirements Engineering-Mind\Road Map
Software Requirements Engineering-Mind\Road Map
 
Enterprise resource planning
Enterprise resource planningEnterprise resource planning
Enterprise resource planning
 
Model driven requirements engineering in the context of erp implementation
Model driven requirements engineering in the context of erp implementationModel driven requirements engineering in the context of erp implementation
Model driven requirements engineering in the context of erp implementation
 
How to evaluate the scientific paper
How to evaluate the scientific paperHow to evaluate the scientific paper
How to evaluate the scientific paper
 
Using a kmerp framework to enhance enterprise resource planning (erp) impleme...
Using a kmerp framework to enhance enterprise resource planning (erp) impleme...Using a kmerp framework to enhance enterprise resource planning (erp) impleme...
Using a kmerp framework to enhance enterprise resource planning (erp) impleme...
 
Development of e government a stope view
Development of e government a stope viewDevelopment of e government a stope view
Development of e government a stope view
 
E government an analysis of the present and suggestions for the future
E government an analysis of the present and suggestions for the futureE government an analysis of the present and suggestions for the future
E government an analysis of the present and suggestions for the future
 
Requirements engineering as a structured process
Requirements engineering as a structured processRequirements engineering as a structured process
Requirements engineering as a structured process
 
Software requirements engineering problems and challenges erp implementation ...
Software requirements engineering problems and challenges erp implementation ...Software requirements engineering problems and challenges erp implementation ...
Software requirements engineering problems and challenges erp implementation ...
 
Information systems (is) undergraduate education
Information systems (is) undergraduate educationInformation systems (is) undergraduate education
Information systems (is) undergraduate education
 
Developing a research proposal in the field of software engineering model dri...
Developing a research proposal in the field of software engineering model dri...Developing a research proposal in the field of software engineering model dri...
Developing a research proposal in the field of software engineering model dri...
 
Requirements elicitation requirements engineering
Requirements elicitation requirements engineeringRequirements elicitation requirements engineering
Requirements elicitation requirements engineering
 
Software requirements engineering
Software requirements engineeringSoftware requirements engineering
Software requirements engineering
 
Empowering the olap technology
Empowering the olap technologyEmpowering the olap technology
Empowering the olap technology
 
Decision support systems
Decision support systemsDecision support systems
Decision support systems
 
Information systems
Information systemsInformation systems
Information systems
 
Exploratory data analysis data visualization
Exploratory data analysis data visualizationExploratory data analysis data visualization
Exploratory data analysis data visualization
 
Reference master data management
Reference master data managementReference master data management
Reference master data management
 
Multimedia networking hms
Multimedia networking hmsMultimedia networking hms
Multimedia networking hms
 
Multimedia networking
Multimedia networkingMultimedia networking
Multimedia networking
 

Recently uploaded

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 

Recently uploaded (20)

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 

Decentralized Voting P2P Systems

  • 1. Towards a Decentralized Voting Mechanism for P2P Collaboration Systems (paper as an example) Thomas Bocek, Dalibor Peric, Fabio Victora Hecht, David Hausheer, Burkhard Stiller University of Zurich, Switzerland P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 2. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri 1 • Introduction, related work, Contributions. 2 • PeerVote Design, Storage Design. 3 • Voting Algorithm and Data Structure, Voting Scheme Example. 4 • P2P Collaboration Application Implementation, Simulation and Experimental Settings . 5 • Simulation Results and Discussion, Experimental Results and Discussion, Comparison of Experimental and Simulation Results. 6 • Conclusions, and Future Work.
  • 3. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri Computer Systems Distributed SystemsCentralized Systems (mainframes, workstations) pure Peer to PeerClient - server Hierarchical HybridFlat
  • 4. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri P2P systems File sharing Collaboration platformsDistributed Computing
  • 5.  Peer-to-peer (P2P) systems inherently support redundancy, scalability, fault tolerance, and load balancing P2P systems support these features at a lower cost than client/server systems.  In a P2P collaboration system, users share the resources necessary to host and distribute articles that can be modified by any other user such as Wikipedia . P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 6.  Proposes a content-driven reputation system for Wikipedia, which is based on automatic analysis of edit-changes of Wikipedia articles and side-steps any user-based rating.  Different voting and consensus reaching algorithms have been proposed, with distributed systems and electronic voting as their main applications. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 7. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 8.  A major challenge in P2P collaboration systems, is to maintain article quality after each modification at the presence of malicious peers. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 9.  The contribution of this paper the fully decentralized voting mechanism Peer- Vote, which enables users to vote on modifications in articles in a P2P collaboration system. Simulations and experiments show the scalability and robustness of Peer Vote, even at the presence of malicious peers.  The proposed voting mechanism ensures that every modification to a document has the approval from the majority of previous editors. This helps to prevent vandalism, editing wars, and deliberate censorship. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 10.  PeerVote defines six roles: tracker, storage, user, editor, mediator and voter roles .  Tracker Role: stores references to storage peers, evaluates voting meta data, can reject references with wrong or inconsistent voting meta data.  Storage Role: stores and periodically (re-)publishes documents, carried out by searching for close trackers to the document’s id and storing addresses of storage peers and meta data.  User Role: A user interacts via a user interface with its user peer. The role of the user peer is to search for, download, and display documents. If the user peers publish downloaded documents, they will also become storage peers. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 11.  Editor Role: An editor peer has modified a document. The editor hands over the change proposal to the mediator peer, which initiates the voting session.  Mediator Role: A mediator peer is responsible for a voting session.  Voter Role: A voter peer can vote on a modified document. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 12. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri Storage of documents Direct storage: as in CFS or Oceanstore, stores the document on peers close to this document’s id, The advantage of direct storage is that a strategy can be implemented to preserve unpopular documents, a random peer stores the document with no incentives to store it. Indirect storage: using a tracker such as in BitTorrent, a tracker based storage stores a reference on peers close to the document’s id. The advantages of the tracker is that documents are stored on peers that have either edited or viewed that document. PeerVote supports both approaches
  • 13.  Voting Algorithm:  A voting session is initiated, when an editor submits a proposal and becomes a mediator.  As a mediator, it starts the voting phase by sending the proposal to all previous editors or to editors with many edits.  These editors can vote, if the change shall be accepted. The voting session is open for a specific amount of time. During this time, voters can review and vote for or against the change.  If a voter does not vote, it is considered as a negative vote. Thus, there are no benefits of avoiding to contact peers for a review. A vote is accepted, if signed voting results reach a threshold. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 14.  Data Structure :  Storage and user peers need to evaluate the voting meta data to detect unreviewed changes.  The voting meta data in PeerVote consists of versioning information, hash code of the content of the document, document identification, and signed voting results.  It is important to verify the consistency of previous voting sessions. Otherwise, a malicious peer could replace, add, or drop signatures P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 15.  PeerVote has been implemented in a P2P collaboration application. This P2P collaboration application is based on TomP2P, a Distributed Hash Table (DHT) and tracker implementation. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 16.  Publishing a new document requires first to search for a tracker, which is responsible for storing the voting meta data and the reference to the storage peer. A tracker is responsible for a document.  Downloading a document After those trackers are found, addresses and voting meta data are downloaded.  After a document is modified, all previous editors are requested to review the change incoming method (). If a sufficient number of voters have signed the modified document, the document is published.  For publishing a modified document, the tracker verifies voting meta data as described in the addAndVerify (), If the verification is successful, the reference to the modified document and voting meta data will be stored. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 17.  Simulations and experiments have been run to investigate scalability, fault tolerance,and robustness.  This is performed by using various combinations of the following parameters: number of nodes, number of malicious nodes, number of voting sessions, and number of change proposals.  All simulations have been performed on 2 Intel(R) Xeon(R) quad-core CPUs, 2.83GHz, with a Java HotSpot(TM) 64-Bit Server, The simulation required 2 days to complete.  All experiments were run on 14 EMANICSLab machines. EMANICSLab is a research network established among European research partners and consists of 7 different partner sites. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 18. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri This means that for 100 peers, 30 change proposals are submitted for 20 documents.
  • 19. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri This indicates that the voting algorithm is scalable with an increasing number of peers. Figure 10 shows the same constant behavior as in the simulation (cf. Figure 5).
  • 20. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri This indicates that the voting traffic is independent of the number of peers. The voting traffic is dependent on the number of documents (Figure 6) and the number of change proposals (Figure 7). Both figures show similar behavior . This indicates that the algorithm works similar under real world conditions.
  • 21. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri The more malicious peers join, the more incorrect changes are present .
  • 22.  This paper presented PeerVote, a decentralized voting mechanism in a P2P collaboration application.  Experiments and simulations with a prototypical implementation showed that PeerVote is scalable and robust, even with the presence of random and malicious voting peers.  PeerVote is used for managing changes of a document in a decentralized collaboration application, and PeerVote allows previous authors to review changes.  Future work will investigate how the PeerVote mechanism can be combined with an incentive scheme. P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri
  • 23. Thanks, Questions? P2P Collaboration Systems, by: Dr. Hamdan Al-Sabri