SlideShare uma empresa 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.

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Semelhante 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
 

Semelhante 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
 

Mais 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
 

Mais 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

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 

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 do 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