SlideShare una empresa de Scribd logo
1 de 46
Roberto Baldoni Università di Roma “La Sapienza” Retirement Seminar for Professor Santosh Shrivastava 8 th  of September 2011,  Newcastle, U K The Price of Mastering Churn in Distributed Systems Roberto Baldoni,  “The price of mastering churn in a distributed system”
Santosh reminds me … a set of acronims  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system” Large and promising IP rejected --too many Chinese! FET IP  - Very strong consortium - rejected reason «very nice projects, however it wants to provide  a real software platfom for pooling together on-demand resources in a multi-tenant environment resistant to byzantine attack…. in FET program we do not fund engineering work» Just below the bar!
Outline ,[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
Advent of Complex Distributed Applications ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
Managed vs. Unmanaged distributed applications (i) ,[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
Managed Distributed Applications: Consequences ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],N entities N-1 entities N-2 N+3 time Roberto Baldoni,  “The price of mastering churn in a distributed system”
Managed vs. Unmanaged distributed applications (ii) ,[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
Unmanaged distributed applications: Consequences ,[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
Spectrum of Possible System Models World Orderly  Chaotic Static Managed Distributed Systems Dynamic Unmanaged Distributed Systems Roberto Baldoni,  “The price of mastering churn in a distributed system” Air traffic Control Mobile ad-hoc Systems Cloud Computing Peer-to-peer
Uncertainty in Dynamic Distributed Systems ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system” ,[object Object],[object Object],[object Object]
System Model with Churn Roberto Baldoni,  “The price of mastering churn in a distributed system”
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system” System Model with Churn
Abstractions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
Churn Distributed System Distributed Computation Connectivity   Protocol Communication   Protocols Abstraction Roberto Baldoni,  “The price of mastering churn in a distributed system” For simplicity we assume N processes are in the distributed computation at any given time
Object Abstraction: The Regular Register A  register  is a shared variable accessed by processes through  read  and  write  operations Roberto Baldoni,  “The price of mastering churn in a distributed system”
Regular Register Architecture at node i Roberto Baldoni,  “The price of mastering churn in a distributed system” Connectivity   Layer Point-to-Point Link Broadcast Regular Register If pi invokes the send(m) operation to pj at time t then pj will receive m by time t+   if it has not left the system by that time If pi invokes the broadcast(m) operation at time t and does not leave the system by time t+   then all the processes that are in the system at time t and does not leave the system by time t+   will deliver m by time t+  ,[object Object],[object Object],Read() write(v) join() REG System Computation
Regular Register: write() Roberto Baldoni,  “The price of mastering churn in a distributed system” The writer process p w  wants to write the value v p w  sends a broadcast message (WRITE, v, sn) …  in the meanwhile processes join and leave the computation OBS . Only processes belonging to the computation when p w  starts the write and that remain in the computation for all the time of the write will maintain the updated copy of the register Active Processes keeps the state of the computation Distributed System A subset of processes participate to the register computation p w
Processes in the distributed computation vs Active Processes Roberto Baldoni,  “The price of mastering churn in a distributed system” N Churn A(t) t Correctness bound #processes Joining processe=leaving processes
Processes in the distributed computation vs Active Processes Roberto Baldoni,  “The price of mastering churn in a distributed system” N Churn A(t) t Correctness bound #processes Joining processe=leaving processes Movement of the bound is impacted by the system model. The weaker the system model is the more «static» the system becomes. This brings several impossibility results in presence of churn.
Processes in the distributed computation vs Active Processes N Churn A(t) t #processes Joining processe=leaving processes Correctness bound Liveness and Safety issues Roberto Baldoni,  “The price of mastering churn in a distributed system” Movement of the bound is impacted by the system model. The weaker the system model is the more «static» the system becomes. This brings several impossibility results in presence of churn.
An Algorithm in Synchronous System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
Synchronous System  Safety:  case register i   ≠   Roberto Baldoni,  “The price of mastering churn in a distributed system” Join()  0 0 0  1 p i p j p h p k ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],write (1) 1 1 1 WRITE(1, 1) Join Write Reply
Synchronous System  Safety:  case register i  =    Roberto Baldoni,  “The price of mastering churn in a distributed system” Join()   0 0 0  0 p i p j p h p k  INQUIRY(i) REPLY(h, 0, 0) If no write is concurrent with the join operation, and c<1/3   then there always exists an active process that replies with the last written value Join Write Reply
Synchronous System  Safety:  case register i  =    Roberto Baldoni,  “The price of mastering churn in a distributed system” write (1) Join()    0 0 0  1 1 1 p i p j p h p k  INQUIRY(i) REPLY(h, 0, 0) WRITE(1, 1) p i   can receive both  WRITE( < val,sn > ) messages and REPLY( < j, val, sn > ) messages. According the values received at time  τ  + 2 δ ,  p i   will update register i   to the value written by a concurrent update, or the value written before the concurrent writes WRITE(1, 1) If pi receives the write before the reply, pi does not overwrite the value and then any following write will return the last value written.
Synchronous System ,[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
Horizontal Quorums for Register Persistence Roberto Baldoni,  “The price of mastering churn in a distributed system” 3 δ joining Active process Non-active process 1 5 9 3 1 5 9 8 1 5 7 8 2 5 7 8 2
Horizontal Quorums for Register Persistence Roberto Baldoni,  “The price of mastering churn in a distributed system” 3 δ 3 δ joining joining Active process Non-active process ,[object Object],1 5 9 3 1 5 9 8 1 5 7 8 2 5 7 8 2 6 7 8 2 6 7 3 2 3
Eventually Synchronous System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
Roberto Baldoni,  “The price of mastering churn in a distributed system” Vertical Quorums for Register Validity in Asynchronous Periods ,[object Object],[object Object],time Termination. Let us assume that  |A(t)| > n/ 2  (i.e., majority of processes is active at any time) , if a process invokes join(), read() or write (), and does not leave the system, it terminates its  operation. Safety. Let us assume that  |A(t)| > n/2,  a  read operation returns the last value written before the read invocation, or a value written by a write operation concurrent  with i
Asynchronous System ,[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
Regular Register with Byzantine Failures Roberto Baldoni,  “The price of mastering churn in a distributed system”
Regular Register with Byzantine Failures ,[object Object],[object Object],[object Object],[object Object],Connection Layer  (e.g. Overlay Management Protocol) (Authenticated)Communication Layer (Best-effort Semantics) Distributed Computation (i.e. Regular Register)
Computation Model ,[object Object],[object Object],[object Object],Write (v) Read ()
Computation Model ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Write (v) Read () v v v v x v x v Join_Server() 
Requirements Write Persistency:  Servers maintain the last value written by a write operation despite servers departures Byzantine Resiliency:  There are always at least f+1 servers maintaining the same value Read- Validity:  any read() operation returns the last value written by a completed write() or a value concurrently written
Issues in read() operations time t 1 t 2 t i t k v x x v  v x x v v v x x v v x x v  v v      y 
Validity Bound ,[object Object],[object Object],[object Object],Theorem : Let  A JS ,  A R  and  A W  be the algorithms implementing respectively join_Server(),  read() and write() operations.  Let   t j ,   t r  and   t w  be the maximum time intervals needed by the previous algorithm to terminate the operation. If  c    min {(n-3f)/(n   t r ), (n-3f)/(n (  t j +   t w )}  then it is not possible to ensure both write persistency and read validity
Validity Bound in a synchronous system ,[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
Pictorial Related Work and summary of results for Regular Register System Model Churn Model Failure model Asyncronous Eventually synchronous synchronous crash byzantine static quiescent continuous Aguilera et al. PODC 2010 Baldoni et al. ICDCS 2009 Baldoni et al. PODC 2011 Roberto Baldoni,  “The price of mastering churn in a distributed system”
Pictorial Related Work and summary of results for Regular Register Roberto Baldoni,  “The price of mastering churn in a distributed system” No Churn Quiescent Churn Continuous Churn Synch Crash BFT papers Baldoni et al ICDCS 2009 Byzant Baldoni et al. PODC 2011 (ba) Event Synch crash Baldoni et al ICDCS 2009 byzantine Open Problem Asynch Crash Aguillera et al 2009 Impossible byzant Open Problem
Other Abstractions we faced ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
Other Abstractions we faced ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
   done in 2 Steps ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system” leader alive list send/receive multicast/receive  HB*  unicast multicast
Conclusion ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Roberto Baldoni,  “The price of mastering churn in a distributed system”
One slide to remember Roberto Baldoni,  “The price of mastering churn in a distributed system”
One slide to remember N Churn A(t) t #processes Joining processe=leaving processes Correctness bound Liveness and Safety issues Roberto Baldoni,  “The price of mastering churn in a distributed system” Movement of the bound is impacted by the system model. The weaker the system model is the more «static» the system becomes. This brings several impossibility results in presence of churn.

Más contenido relacionado

La actualidad más candente

Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed systemSunita Sahu
 
Synchronization Pradeep K Sinha
Synchronization Pradeep K SinhaSynchronization Pradeep K Sinha
Synchronization Pradeep K SinhaJawwad Rafiq
 
Distributed system lamport's and vector algorithm
Distributed system lamport's and vector algorithmDistributed system lamport's and vector algorithm
Distributed system lamport's and vector algorithmpinki soni
 
Synchronization in distributed systems
Synchronization in distributed systems Synchronization in distributed systems
Synchronization in distributed systems SHATHAN
 
clock synchronization in Distributed System
clock synchronization in Distributed System clock synchronization in Distributed System
clock synchronization in Distributed System Harshita Ved
 
From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions Gabriele D'Angelo
 
Clock Synchronization (Distributed computing)
Clock Synchronization (Distributed computing)Clock Synchronization (Distributed computing)
Clock Synchronization (Distributed computing)Sri Prasanna
 
Distributed computing time
Distributed computing timeDistributed computing time
Distributed computing timeDeepak John
 
Synchronization
SynchronizationSynchronization
SynchronizationSara shall
 
Distributed System Management
Distributed System ManagementDistributed System Management
Distributed System ManagementIbrahim Amer
 

La actualidad más candente (17)

3. syncro. in distributed system
3. syncro. in distributed system3. syncro. in distributed system
3. syncro. in distributed system
 
Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed system
 
Synchronization Pradeep K Sinha
Synchronization Pradeep K SinhaSynchronization Pradeep K Sinha
Synchronization Pradeep K Sinha
 
Distributed system lamport's and vector algorithm
Distributed system lamport's and vector algorithmDistributed system lamport's and vector algorithm
Distributed system lamport's and vector algorithm
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Synchronization in distributed systems
Synchronization in distributed systems Synchronization in distributed systems
Synchronization in distributed systems
 
clock synchronization in Distributed System
clock synchronization in Distributed System clock synchronization in Distributed System
clock synchronization in Distributed System
 
From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions
 
Clock Synchronization (Distributed computing)
Clock Synchronization (Distributed computing)Clock Synchronization (Distributed computing)
Clock Synchronization (Distributed computing)
 
Chap 5
Chap 5Chap 5
Chap 5
 
Chapter 6 synchronization
Chapter 6 synchronizationChapter 6 synchronization
Chapter 6 synchronization
 
Distributed computing time
Distributed computing timeDistributed computing time
Distributed computing time
 
Synchronization
SynchronizationSynchronization
Synchronization
 
Synch
SynchSynch
Synch
 
Distributed Mutual exclusion algorithms
Distributed Mutual exclusion algorithmsDistributed Mutual exclusion algorithms
Distributed Mutual exclusion algorithms
 
Resource management
Resource managementResource management
Resource management
 
Distributed System Management
Distributed System ManagementDistributed System Management
Distributed System Management
 

Similar a Reliable Distributed Computing: The Price of Mastering Churn in Distributed Systems

Distributed Systems Theory for Mere Mortals
Distributed Systems Theory for Mere MortalsDistributed Systems Theory for Mere Mortals
Distributed Systems Theory for Mere MortalsEnsar Basri Kahveci
 
Event-driven Infrastructure - Mike Place, SaltStack - DevOpsDays Tel Aviv 2016
Event-driven Infrastructure - Mike Place, SaltStack - DevOpsDays Tel Aviv 2016Event-driven Infrastructure - Mike Place, SaltStack - DevOpsDays Tel Aviv 2016
Event-driven Infrastructure - Mike Place, SaltStack - DevOpsDays Tel Aviv 2016DevOpsDays Tel Aviv
 
Data Streaming (in a Nutshell) ... and Spark's window operations
Data Streaming (in a Nutshell) ... and Spark's window operationsData Streaming (in a Nutshell) ... and Spark's window operations
Data Streaming (in a Nutshell) ... and Spark's window operationsVincenzo Gulisano
 
Cs556 section2
Cs556 section2Cs556 section2
Cs556 section2farshad33
 
Modeling of multiversion concurrency control
Modeling of multiversion concurrency controlModeling of multiversion concurrency control
Modeling of multiversion concurrency controlJawid Ahmad Baktash
 
Building a Distributed System, The Basics
Building a Distributed System, The BasicsBuilding a Distributed System, The Basics
Building a Distributed System, The BasicsRich Beaudoin
 
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.pptModule-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.pptKAnurag2
 
The present and future of serverless observability
The present and future of serverless observabilityThe present and future of serverless observability
The present and future of serverless observabilityYan Cui
 
Software engg. pressman_ch-8
Software engg. pressman_ch-8Software engg. pressman_ch-8
Software engg. pressman_ch-8Dhairya Joshi
 
distribute system.
distribute system.distribute system.
distribute system.keerthikaA8
 
A Deterministic Model Of Time For Distributed Systems
A Deterministic Model Of Time For Distributed SystemsA Deterministic Model Of Time For Distributed Systems
A Deterministic Model Of Time For Distributed SystemsJim Webb
 
Distributed control systems.pdfffffffffff
Distributed control systems.pdfffffffffffDistributed control systems.pdfffffffffff
Distributed control systems.pdfffffffffffsowbarnikaganesh17
 
Evolutionary Systems - Kafka Microservices
Evolutionary Systems - Kafka MicroservicesEvolutionary Systems - Kafka Microservices
Evolutionary Systems - Kafka MicroservicesStefano Rocco
 
Os rtos.ppt
Os rtos.pptOs rtos.ppt
Os rtos.pptrahul km
 
Ch4 OS
Ch4 OSCh4 OS
Ch4 OSC.U
 

Similar a Reliable Distributed Computing: The Price of Mastering Churn in Distributed Systems (20)

Distributed Systems Theory for Mere Mortals
Distributed Systems Theory for Mere MortalsDistributed Systems Theory for Mere Mortals
Distributed Systems Theory for Mere Mortals
 
Event-driven Infrastructure - Mike Place, SaltStack - DevOpsDays Tel Aviv 2016
Event-driven Infrastructure - Mike Place, SaltStack - DevOpsDays Tel Aviv 2016Event-driven Infrastructure - Mike Place, SaltStack - DevOpsDays Tel Aviv 2016
Event-driven Infrastructure - Mike Place, SaltStack - DevOpsDays Tel Aviv 2016
 
Dutchchain aug18
Dutchchain aug18Dutchchain aug18
Dutchchain aug18
 
Data Streaming (in a Nutshell) ... and Spark's window operations
Data Streaming (in a Nutshell) ... and Spark's window operationsData Streaming (in a Nutshell) ... and Spark's window operations
Data Streaming (in a Nutshell) ... and Spark's window operations
 
Cs556 section2
Cs556 section2Cs556 section2
Cs556 section2
 
Modeling of multiversion concurrency control
Modeling of multiversion concurrency controlModeling of multiversion concurrency control
Modeling of multiversion concurrency control
 
Building a Distributed System, The Basics
Building a Distributed System, The BasicsBuilding a Distributed System, The Basics
Building a Distributed System, The Basics
 
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.pptModule-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
 
The present and future of serverless observability
The present and future of serverless observabilityThe present and future of serverless observability
The present and future of serverless observability
 
Real timedata
Real timedataReal timedata
Real timedata
 
Complex Systems1
Complex Systems1Complex Systems1
Complex Systems1
 
Os notes
Os notesOs notes
Os notes
 
Software engg. pressman_ch-8
Software engg. pressman_ch-8Software engg. pressman_ch-8
Software engg. pressman_ch-8
 
distribute system.
distribute system.distribute system.
distribute system.
 
A Deterministic Model Of Time For Distributed Systems
A Deterministic Model Of Time For Distributed SystemsA Deterministic Model Of Time For Distributed Systems
A Deterministic Model Of Time For Distributed Systems
 
Distributed control systems.pdfffffffffff
Distributed control systems.pdfffffffffffDistributed control systems.pdfffffffffff
Distributed control systems.pdfffffffffff
 
SECURITY SYSTEM INTEGRATION
SECURITY SYSTEM INTEGRATIONSECURITY SYSTEM INTEGRATION
SECURITY SYSTEM INTEGRATION
 
Evolutionary Systems - Kafka Microservices
Evolutionary Systems - Kafka MicroservicesEvolutionary Systems - Kafka Microservices
Evolutionary Systems - Kafka Microservices
 
Os rtos.ppt
Os rtos.pptOs rtos.ppt
Os rtos.ppt
 
Ch4 OS
Ch4 OSCh4 OS
Ch4 OS
 

Más de Roberto Baldoni

Presentazione Italian Cybersecurity Report 2016: I controlli essenziali di si...
Presentazione Italian Cybersecurity Report 2016: I controlli essenziali di si...Presentazione Italian Cybersecurity Report 2016: I controlli essenziali di si...
Presentazione Italian Cybersecurity Report 2016: I controlli essenziali di si...Roberto Baldoni
 
2016FRAMEWORK NAZIONALEBALDONIXWEB
2016FRAMEWORK NAZIONALEBALDONIXWEB2016FRAMEWORK NAZIONALEBALDONIXWEB
2016FRAMEWORK NAZIONALEBALDONIXWEBRoberto Baldoni
 
Italian cyber security report 2014
Italian cyber security report 2014Italian cyber security report 2014
Italian cyber security report 2014Roberto Baldoni
 
Distributed Event Routing in Publish/Subscribe Systems
Distributed Event Routing in Publish/Subscribe SystemsDistributed Event Routing in Publish/Subscribe Systems
Distributed Event Routing in Publish/Subscribe SystemsRoberto Baldoni
 
AGILIS: an on-line map reduce environment for collaborative security
AGILIS: an on-line map reduce environment for collaborative securityAGILIS: an on-line map reduce environment for collaborative security
AGILIS: an on-line map reduce environment for collaborative securityRoberto Baldoni
 
Smart Houses: integrating SOA with Brain Computer Interfaces
Smart Houses: integrating SOA with Brain Computer InterfacesSmart Houses: integrating SOA with Brain Computer Interfaces
Smart Houses: integrating SOA with Brain Computer InterfacesRoberto Baldoni
 

Más de Roberto Baldoni (6)

Presentazione Italian Cybersecurity Report 2016: I controlli essenziali di si...
Presentazione Italian Cybersecurity Report 2016: I controlli essenziali di si...Presentazione Italian Cybersecurity Report 2016: I controlli essenziali di si...
Presentazione Italian Cybersecurity Report 2016: I controlli essenziali di si...
 
2016FRAMEWORK NAZIONALEBALDONIXWEB
2016FRAMEWORK NAZIONALEBALDONIXWEB2016FRAMEWORK NAZIONALEBALDONIXWEB
2016FRAMEWORK NAZIONALEBALDONIXWEB
 
Italian cyber security report 2014
Italian cyber security report 2014Italian cyber security report 2014
Italian cyber security report 2014
 
Distributed Event Routing in Publish/Subscribe Systems
Distributed Event Routing in Publish/Subscribe SystemsDistributed Event Routing in Publish/Subscribe Systems
Distributed Event Routing in Publish/Subscribe Systems
 
AGILIS: an on-line map reduce environment for collaborative security
AGILIS: an on-line map reduce environment for collaborative securityAGILIS: an on-line map reduce environment for collaborative security
AGILIS: an on-line map reduce environment for collaborative security
 
Smart Houses: integrating SOA with Brain Computer Interfaces
Smart Houses: integrating SOA with Brain Computer InterfacesSmart Houses: integrating SOA with Brain Computer Interfaces
Smart Houses: integrating SOA with Brain Computer Interfaces
 

Último

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 

Último (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 

Reliable Distributed Computing: The Price of Mastering Churn in Distributed Systems

  • 1. Roberto Baldoni Università di Roma “La Sapienza” Retirement Seminar for Professor Santosh Shrivastava 8 th of September 2011, Newcastle, U K The Price of Mastering Churn in Distributed Systems Roberto Baldoni, “The price of mastering churn in a distributed system”
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. Spectrum of Possible System Models World Orderly Chaotic Static Managed Distributed Systems Dynamic Unmanaged Distributed Systems Roberto Baldoni, “The price of mastering churn in a distributed system” Air traffic Control Mobile ad-hoc Systems Cloud Computing Peer-to-peer
  • 10.
  • 11. System Model with Churn Roberto Baldoni, “The price of mastering churn in a distributed system”
  • 12.
  • 13.
  • 14. Churn Distributed System Distributed Computation Connectivity Protocol Communication Protocols Abstraction Roberto Baldoni, “The price of mastering churn in a distributed system” For simplicity we assume N processes are in the distributed computation at any given time
  • 15. Object Abstraction: The Regular Register A register is a shared variable accessed by processes through read and write operations Roberto Baldoni, “The price of mastering churn in a distributed system”
  • 16.
  • 17. Regular Register: write() Roberto Baldoni, “The price of mastering churn in a distributed system” The writer process p w wants to write the value v p w sends a broadcast message (WRITE, v, sn) … in the meanwhile processes join and leave the computation OBS . Only processes belonging to the computation when p w starts the write and that remain in the computation for all the time of the write will maintain the updated copy of the register Active Processes keeps the state of the computation Distributed System A subset of processes participate to the register computation p w
  • 18. Processes in the distributed computation vs Active Processes Roberto Baldoni, “The price of mastering churn in a distributed system” N Churn A(t) t Correctness bound #processes Joining processe=leaving processes
  • 19. Processes in the distributed computation vs Active Processes Roberto Baldoni, “The price of mastering churn in a distributed system” N Churn A(t) t Correctness bound #processes Joining processe=leaving processes Movement of the bound is impacted by the system model. The weaker the system model is the more «static» the system becomes. This brings several impossibility results in presence of churn.
  • 20. Processes in the distributed computation vs Active Processes N Churn A(t) t #processes Joining processe=leaving processes Correctness bound Liveness and Safety issues Roberto Baldoni, “The price of mastering churn in a distributed system” Movement of the bound is impacted by the system model. The weaker the system model is the more «static» the system becomes. This brings several impossibility results in presence of churn.
  • 21.
  • 22.
  • 23. Synchronous System Safety: case register i =  Roberto Baldoni, “The price of mastering churn in a distributed system” Join()   0 0 0  0 p i p j p h p k  INQUIRY(i) REPLY(h, 0, 0) If no write is concurrent with the join operation, and c<1/3  then there always exists an active process that replies with the last written value Join Write Reply
  • 24. Synchronous System Safety: case register i =  Roberto Baldoni, “The price of mastering churn in a distributed system” write (1) Join()    0 0 0  1 1 1 p i p j p h p k  INQUIRY(i) REPLY(h, 0, 0) WRITE(1, 1) p i can receive both WRITE( < val,sn > ) messages and REPLY( < j, val, sn > ) messages. According the values received at time τ + 2 δ , p i will update register i to the value written by a concurrent update, or the value written before the concurrent writes WRITE(1, 1) If pi receives the write before the reply, pi does not overwrite the value and then any following write will return the last value written.
  • 25.
  • 26. Horizontal Quorums for Register Persistence Roberto Baldoni, “The price of mastering churn in a distributed system” 3 δ joining Active process Non-active process 1 5 9 3 1 5 9 8 1 5 7 8 2 5 7 8 2
  • 27.
  • 28.
  • 29.
  • 30.
  • 31. Regular Register with Byzantine Failures Roberto Baldoni, “The price of mastering churn in a distributed system”
  • 32.
  • 33.
  • 34.
  • 35. Requirements Write Persistency: Servers maintain the last value written by a write operation despite servers departures Byzantine Resiliency: There are always at least f+1 servers maintaining the same value Read- Validity: any read() operation returns the last value written by a completed write() or a value concurrently written
  • 36. Issues in read() operations time t 1 t 2 t i t k v x x v  v x x v v v x x v v x x v  v v      y 
  • 37.
  • 38.
  • 39. Pictorial Related Work and summary of results for Regular Register System Model Churn Model Failure model Asyncronous Eventually synchronous synchronous crash byzantine static quiescent continuous Aguilera et al. PODC 2010 Baldoni et al. ICDCS 2009 Baldoni et al. PODC 2011 Roberto Baldoni, “The price of mastering churn in a distributed system”
  • 40. Pictorial Related Work and summary of results for Regular Register Roberto Baldoni, “The price of mastering churn in a distributed system” No Churn Quiescent Churn Continuous Churn Synch Crash BFT papers Baldoni et al ICDCS 2009 Byzant Baldoni et al. PODC 2011 (ba) Event Synch crash Baldoni et al ICDCS 2009 byzantine Open Problem Asynch Crash Aguillera et al 2009 Impossible byzant Open Problem
  • 41.
  • 42.
  • 43.
  • 44.
  • 45. One slide to remember Roberto Baldoni, “The price of mastering churn in a distributed system”
  • 46. One slide to remember N Churn A(t) t #processes Joining processe=leaving processes Correctness bound Liveness and Safety issues Roberto Baldoni, “The price of mastering churn in a distributed system” Movement of the bound is impacted by the system model. The weaker the system model is the more «static» the system becomes. This brings several impossibility results in presence of churn.

Notas del editor

  1. What is the weakest system model in which we are still able to provide meaningful specifications of a distributed computing abstraction and solutions?
  2. Compattare con la precedente
  3. Dire che cos’è la validity