
A New Non-Blocking Validation Protocol for Eager Replication of Databases over a Decentralized P2P Architecture
Publication year - 2019
Publication title -
international journal of recent technology and engineering
Language(s) - English
Resource type - Journals
ISSN - 2277-3878
DOI - 10.35940/ijrte.b1108.0782s719
Subject(s) - computer science , commit , distributed computing , replication (statistics) , protocol (science) , distributed database , two phase commit protocol , voting , blocking (statistics) , replicate , queue , database , computer network , distributed transaction , database transaction , transaction processing , medicine , statistics , alternative medicine , mathematics , pathology , politics , political science , law
Replicating a database on a decentralized P2P network using the eager approach is a difficult problem, especially since participants (peers) are dynamic on such kinds of networks. A second defect is conflicting transactions executed concurrently by different peers to update the same data. These problems cause the perpetual abortions of transactions so that replicas remain always inconsistent. Thus, this article introduces a new Four-Phase-Commit (4PC) validation protocol that allows the completion of transactions with available peers and recovers unavailable ones when they re-join the network. Nested transactions and distributed voting technique were used to arrive at an algorithm that was implemented with C#. An experimentation scenario has made it possible to measure its performance and has finally revealed that the new algorithm is effective because in real-time it can replicate a large number of records; it can queue the records of the absent peers in order to distribute these updates to them when they become present again