SlideShare a Scribd company logo
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
Distributed: Why?
• Simple, cheaper components
• Easy to add capability incrementally
• Let multiple users cooperate (maybe)
• Physical components owned by different users
• Enable collaboration between diverse users
9
The Promise of Dist. Systems
• Availability: One machine goes down, overall system
stays up
• Durability: One machine loses data, but system does not
lose anything
• Security: Easier to secure each component of the system
individually?
10
Distributed: Worst-Case Reality
• Availability: Failure in one machine brings down entire
system
• Durability: Any machine can lose your data
• Security: More components means more points of attack
11
Distributed Systems Goal
• Transparency: Hide "distributed-ness" from any external
observer, make system simpler
• Types
• Location: Location of resources is invisible
• Migration: Resources can move without user knowing
• Replication: Invisible extra copies of resources (for reliability,
performance)
• Parallelism: Job split into multiple pieces, but looks like a single
task
• Fault Tolerance: Components fail without users knowing
12
Challenge of Coordination
• Components communicate over the network
• Send messages between machines
• Need to use messages to agree on system state
• This issue does not exist in a centralized system
13
CAP Theorem
• Originally proposed by Eric Brewer (Berkeley)
1. Consistency – changes appear to everyone in
same sequential order
2. Availability – can get a result at any time
3. Partition Tolerance – system continues to work
even when one part of network can't
communicate with the other
• Impossible to achieve all 3 at the same time (pick
two)
14
CAP Theorem Example
• What do we do if a network partition occurs?
• Prefer Availability: Allow the state at some nodes to
disagree with the state at other nodes (AP)
• Prefer Consistency: Reject requests until the partition is
resolved (CP)
15
Partition A
Partition B
Consistency Preferred
• Block writes until all nodes able to agree
• Consistent: Reads never return wrong values
• Not Available: Writes block until partition is resolved and
unanimous approval is possible
16
What about AP Systems?
• Partition occurs, but both groups of nodes continue to
accept requests
• Consequence: State might diverge between the two
groups (e.g., different updates are executed)
• When communication is restored, there needs to be an
explicit recovery process
• Resolve conflicting updates so everyone agrees on system
state once again
17
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx
U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx

More Related Content

PPTX
Chapter-1-IntroDistributeddffsfdfsdf-1.pptx
PPTX
Distributed Database system in Computer Science.pptx
PPTX
CAP Theorem and Split Brain Syndrome
PPTX
chapter-1Introduction to DS,Issues and Architecture.pptx
PPTX
distrbuted system chapter one .DS .pptx
PPTX
Unit_4_Fault_Tolerance.pptx
PPT
Lecture 2 - Definition and Goals of a Distributed System.ppt
PDF
CM2-Data model for Big Data chapter2.pdf
Chapter-1-IntroDistributeddffsfdfsdf-1.pptx
Distributed Database system in Computer Science.pptx
CAP Theorem and Split Brain Syndrome
chapter-1Introduction to DS,Issues and Architecture.pptx
distrbuted system chapter one .DS .pptx
Unit_4_Fault_Tolerance.pptx
Lecture 2 - Definition and Goals of a Distributed System.ppt
CM2-Data model for Big Data chapter2.pdf

Similar to U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx (20)

PPT
Design Issues of an OS.ppt
PDF
distributed system original.pdf
PPT
DS ( distributions Systems )chap-01.ppt
PPTX
Fault tolerance in distributed systems
PPT
UNIT-1 Introduction to Distributed SystemPPT.ppt
PPTX
Distributed systems and scalability rules
PPTX
Distributed operating system
PDF
distributed system chapter one introduction to distribued system.pdf
PPT
chap-0 .ppt
PPTX
Introduction
PPT
chapter 1 Introduction Distributed System
PPT
433672084-distributed-vs-parallel-computing-ppt.ppt
PPTX
Distributed Computing
PPTX
Présentationnnnnnnnnnnnnnnnnnnn WALID BOHLI.pptx
PPT
Chapter 1_NG_2020.ppt
PPTX
Chapter Introductionn to distributed system .pptx
PDF
Lightning talk: highly scalable databases and the PACELC theorem
PPT
2-distri-intro nos mos.ppt Distributed systems Introduction
RTF
MSB-Distributed systems goals
Design Issues of an OS.ppt
distributed system original.pdf
DS ( distributions Systems )chap-01.ppt
Fault tolerance in distributed systems
UNIT-1 Introduction to Distributed SystemPPT.ppt
Distributed systems and scalability rules
Distributed operating system
distributed system chapter one introduction to distribued system.pdf
chap-0 .ppt
Introduction
chapter 1 Introduction Distributed System
433672084-distributed-vs-parallel-computing-ppt.ppt
Distributed Computing
Présentationnnnnnnnnnnnnnnnnnnn WALID BOHLI.pptx
Chapter 1_NG_2020.ppt
Chapter Introductionn to distributed system .pptx
Lightning talk: highly scalable databases and the PACELC theorem
2-distri-intro nos mos.ppt Distributed systems Introduction
MSB-Distributed systems goals

Recently uploaded (20)

PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Well-logging-methods_new................
PDF
composite construction of structures.pdf
PPTX
additive manufacturing of ss316l using mig welding
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
PPT on Performance Review to get promotions
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Welding lecture in detail for understanding
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Model Code of Practice - Construction Work - 21102022 .pdf
CYBER-CRIMES AND SECURITY A guide to understanding
Well-logging-methods_new................
composite construction of structures.pdf
additive manufacturing of ss316l using mig welding
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Internet of Things (IOT) - A guide to understanding
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPT on Performance Review to get promotions
Operating System & Kernel Study Guide-1 - converted.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Welding lecture in detail for understanding
Embodied AI: Ushering in the Next Era of Intelligent Systems
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx

U1-T9,T5-Distributed Vs Parallel Processing and Typical Hadoop Environment.pptx

  • 7. Distributed: Why? • Simple, cheaper components • Easy to add capability incrementally • Let multiple users cooperate (maybe) • Physical components owned by different users • Enable collaboration between diverse users 9
  • 8. The Promise of Dist. Systems • Availability: One machine goes down, overall system stays up • Durability: One machine loses data, but system does not lose anything • Security: Easier to secure each component of the system individually? 10
  • 9. Distributed: Worst-Case Reality • Availability: Failure in one machine brings down entire system • Durability: Any machine can lose your data • Security: More components means more points of attack 11
  • 10. Distributed Systems Goal • Transparency: Hide "distributed-ness" from any external observer, make system simpler • Types • Location: Location of resources is invisible • Migration: Resources can move without user knowing • Replication: Invisible extra copies of resources (for reliability, performance) • Parallelism: Job split into multiple pieces, but looks like a single task • Fault Tolerance: Components fail without users knowing 12
  • 11. Challenge of Coordination • Components communicate over the network • Send messages between machines • Need to use messages to agree on system state • This issue does not exist in a centralized system 13
  • 12. CAP Theorem • Originally proposed by Eric Brewer (Berkeley) 1. Consistency – changes appear to everyone in same sequential order 2. Availability – can get a result at any time 3. Partition Tolerance – system continues to work even when one part of network can't communicate with the other • Impossible to achieve all 3 at the same time (pick two) 14
  • 13. CAP Theorem Example • What do we do if a network partition occurs? • Prefer Availability: Allow the state at some nodes to disagree with the state at other nodes (AP) • Prefer Consistency: Reject requests until the partition is resolved (CP) 15 Partition A Partition B
  • 14. Consistency Preferred • Block writes until all nodes able to agree • Consistent: Reads never return wrong values • Not Available: Writes block until partition is resolved and unanimous approval is possible 16
  • 15. What about AP Systems? • Partition occurs, but both groups of nodes continue to accept requests • Consequence: State might diverge between the two groups (e.g., different updates are executed) • When communication is restored, there needs to be an explicit recovery process • Resolve conflicting updates so everyone agrees on system state once again 17