Final_Consensus_Protocol_Presentation_Reetika_Balda.pptx

reetikabalda16 9 views 15 slides Nov 02, 2025
Slide 1
Slide 1 of 15
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15

About This Presentation

future point, application and types


Slide Content

Consensus Protocols in Distributed Systems By Reetika Balda MCA 2nd Year Choudhary Ranbir Singh University

Introduction to Consensus Consensus ensures all distributed nodes agree on a single data value. It is vital for consistency, fault tolerance, and reliability. Used in databases, blockchains, and distributed systems.

Why Consensus is Needed Ensures data consistency across distributed nodes. Resolves conflicts among replicas. Maintains fault tolerance and system trust.

Key Properties Agreement – all nodes agree on one value. Termination – every non-faulty node eventually decides. Validity – decided value must be one proposed by nodes. Fault Tolerance – system functions despite failures.

Popular Consensus Protocols Paxos – Reliable but complex algorithm. Raft – Simpler and widely used (used in Kubernetes, etcd). PBFT – Byzantine Fault Tolerant system (used in Hyperledger). PoW – Used in Bitcoin for mining consensus. PoS – Used in Ethereum for efficient validation.

Paxos Algorithm Roles: Proposers, Acceptors, and Learners. Proposers suggest values, Acceptors agree, Learners observe final decision. Ensures reliability even with node failures.

Raft Algorithm Simpler version of Paxos with clear leader election. Three phases: Leader Election, Log Replication, Commitment. Ensures system safety and log consistency.

PBFT (Practical Byzantine Fault Tolerance) Handles malicious or faulty nodes (Byzantine failures). Requires 3f+1 nodes to tolerate f faults. Used in permissioned blockchain systems.

Proof of Work (PoW) Used in Bitcoin and early blockchains. Miners solve cryptographic puzzles to validate transactions. Energy intensive but highly secure.

Proof of Stake (PoS) Validators are chosen based on their stake (amount owned). More energy efficient and eco-friendly. Used in Ethereum 2.0 and Cardano.

PoW vs PoS PoW: Secure, decentralized, but energy-hungry. PoS: Efficient, fast, but may lead to wealth concentration. Hybrid models combine benefits of both.

Challenges in Consensus Scalability and performance trade-offs. Energy consumption in PoW systems. Security threats such as Sybil or 51% attacks. Balancing decentralization and efficiency.

Applications Distributed databases and systems. Blockchain and cryptocurrency validation. Cloud storage synchronization. Multi-agent decision-making systems.

Future Directions AI-driven adaptive consensus mechanisms. Hybrid consensus models for scalability. Sustainable energy-efficient approaches. Cross-chain interoperability protocols.

Conclusion Consensus protocols form the backbone of reliable distributed systems. Each algorithm balances trade-offs between speed, security, and decentralization. The future lies in efficiency, scalability, and sustainability.