SlideShare une entreprise Scribd logo
1  sur  43
Eric Windisch
                         Cloudscaling Principal Engineer

                         • OpenStack Dev since Cactus
                         • Building PaaS since 2002
                         • Building IaaS since 2006
                         • Engineering lead for
                          KT’s second-generation
                          elastic block storage solution.




Thursday, April 18, 13
Scale Out Block Storage
Thursday, April 18, 13
Amazon’s Architecture
                         (or what we can infer)


Thursday, April 18, 13
Control-plane + Storage

                                     EBS
                                     Control-plane




                         EBS Storage             EC2

                                 4


Thursday, April 18, 13
Distributed Storage
        “EBS is a distributed, replicated block data store that is
        optimized for consistency and low latency read and
        write access from EC2 instances.”




                                      5


Thursday, April 18, 13
Brewer’s Theorem:
       “It is impossible for a distributed system to simultaneously
       provide all three of the following guarantees.”

      consistency                                  availability
                         C                     A




                                 P
                              partition
                             tolerance

                                     6


Thursday, April 18, 13
Brewer’s Theorem:
                                   ial
       “It is impossible for a distributed system to simultaneously
                                nt
       provide all three of sse following guarantees.”
                          E the
      consistency                                availability
                         C                     A  = reliability




                                  P
                               partition
                                         = reliability
                              tolerance

                                     7


Thursday, April 18, 13
Brewer’s Theorem:
                                   ial
       “It is impossible for a distributed system to simultaneously
                                nt
       provide all three of sse following guarantees.”
                          E the
      consistency                                availability
                         C                     A  = reliability



  To      have
  consistency,                    P
  EBS gives up                 partition
                                         = reliability
  reliability.                tolerance

                                     8


Thursday, April 18, 13
Snapshots

           “Amazon EBS also provides the ability to
           create point-in-time snapshots of
           volumes... These snapshots... protect
           data for long-term durability.”



             For reliability, use snapshots.
                               9


Thursday, April 18, 13
Cloud #FAIL


Thursday, April 18, 13
Real-life failures




                         11

Thursday, April 18, 13
Real-life failures

   “



                              ”
                         12

Thursday, April 18, 13
Real-life failures

   “

                                 FF
                           T   U
                         S
                                      ”
                               13

Thursday, April 18, 13
Service Provider Failures - 100%
      Hardware rarely fails, operators fail, software fails
                         Type        Year         Why       Duration
                         Switch      2005         Bug         2 hrs

                          SAN        2007        Ops Err      24 hrs

                          NAS        2008        Ops Err      8 hrs

                          SAN        2011         Bug         72 hrs

                    Datacenter       2012        Bug+Ops      2 hrs

                          (names withheld to protect the guilty)
                                            14
Thursday, April 18, 13
What is Scale-out?

                         A   B



                                           A      B    C    D      N




                         A   B




          Scale-up - Make boxes                Scale-out - Make moar
        bigger (usually an HA pair)                    boxes



                                      15
Thursday, April 18, 13
Scaling out is a mindset
      Scaling up is like treating your servers as pets




      bowzer.company.com                  web001.company.com


                         Servers *are* cattle
                                  16
Thursday, April 18, 13
Big failure domains vs. small
      Would you rather have the whole cloud down or just a
      small bit for a short period of time?




                                     Still a scale-up pattern ...
                                   wouldn’t you rather scale-out?
                                  17
Thursday, April 18, 13
Cinder Architecture


Thursday, April 18, 13
Cinder: Different than EBS?


                                   Cinder
                                   Control-plane




                         Storage             Compute

                              19


Thursday, April 18, 13
Cinder Control Plane



                Control Plane



                         Sto
                            rag
                               e


                                   20


Thursday, April 18, 13
Not just a control-plane


                                   Cinder
                                   Control-plane




                         Storage             Compute

                              21


Thursday, April 18, 13
Storage Plugins
        emc                      coraid       sheepdog
        huawei                   glusterfs    solidfire
        netapp                   lvm          storewize
        nexenta                  nfs          windows
        san                      rbd (ceph)   xiv
        xenapi                   scality      zadara

                         18 different architectures
                                       22

Thursday, April 18, 13
Storage Plugin Choices
      really are:
                         NAS   DFS   BLOCK




                                23

Thursday, April 18, 13
Breaking the Cinder
              Control Plane

Thursday, April 18, 13
Scale-up, Scale-up
             (I hope nobody does this)




                   XOne-really-
                    big-server
                                                        One-really-
                                                        big-server
                                                                         X
                                     really-big                          really-big
                                  storage system                      storage system

                                                   25

Thursday, April 18, 13
Diagram: Multi-backend pattern

                         Cin
                            der
                                vol-
                                     man
                                        ager
                                               one big cinder
                           Stor                control-plane
                               age


             Several really-big
              storage systems

                                        26

Thursday, April 18, 13
Diagram: Multi-backend pattern

       Many really-big          Many really-big
     control-plane nodes        storage systems




                           27

Thursday, April 18, 13
Scale-out,
                                   Scale-out
                               Complex.
                               Split-brain problems.
                               Cinder doesn’t natively
                               support this.


                                         To fix this,
                                lets talk about the
                                 storage backend.
                         28


Thursday, April 18, 13
Breaking the Cinder
            Storage Backend
                         This section needs a lot of work yet...

Thursday, April 18, 13
Scale-out,
                                   Scale-out
                               Complex.
                               Split-brain problems.
                               Cinder doesn’t natively
                               support this.




                         30


Thursday, April 18, 13
Scale-out, then scale-up




                          Transport   Failed Storage
          Failed server
                           Failure
                           31
                                         Backend

Thursday, April 18, 13
“HA” Replication

                                   Cinder
                                   Control-plane




                         HA PAIR



                           32


Thursday, April 18, 13
Scale-out,
                              Scale-out,
                                      HA
                              Really Complex.
                              Where is my data?
                              More split-brain
                              problems.
                              Cinder still doesn’t
                              support it.


                         33


Thursday, April 18, 13
Networking complexity
        Imagine this was 4 or 6 nodes in the cluster




                                                   34
Thursday, April 18, 13
Brewer’s Theorem:
                      his
                                  se s t system to simultaneously
       “It is impossible for a distributed
                               lo
                          HA
       provide all three of the following guarantees.”

      consistency                                 availability
                         C                    A




                                 P           in-consistent
                              partition     block storage?
                             tolerance
                                            REALLY SCARY.
                                   35


Thursday, April 18, 13
Solution!


Thursday, April 18, 13
We deploy Cinder like Nova.
                                                             vo lume




                                                               ^
                                      API        Scheduler      Compute




                         HTTP Proxy




                                      API        Scheduler
                                                                ^ me
                                                                Compute


                                                             volu
                                            37

Thursday, April 18, 13
Brokerless Messaging With ZeroMQ
      Distributed MessagingFailure 0MQ
      Avoiding RabbitMQ’s Single Point Of
                                          with
                             Nova-Compute                                Nova-Compute




                                          Single Point
                                          Of Failure



                               RabbitMQ
                                Broker



             Nova-Scheduler                   Nova-API        Nova-Scheduler            Nova-API

                             RabbitMQ                    vs.            ZeroMQ
                            (Brokered)
                         Centralized Broker                         (Peer To Peer)
                                                                  Distributed Broker
                                                                      (peer to peer)
                                                                            35
Thursday, October 18, 12

                                                         38


Thursday, April 18, 13
Scale-together
                                 Simple.
                                 Deterministic.
                                 Won’t lose all data
                                 together.
                                 Can lose leaf-node
                                 data, but snapshots
                                 hedge against this.




                         39


Thursday, April 18, 13
Brewer’s Theorem:
       “It is impossible for a distributed system to simultaneously
       provide all three of the following guarantees.”

      consistency                                   availability
                         C                     A




                                 P
                              partition
                             tolerance

                                    40


Thursday, April 18, 13
Brewer’s Theorem:
       “It is impossible for a distributed system to simultaneously
       provide all three of the following guarantees.”

      consistency                                   availability
                         C                     A



                                                We don’t need
                                 P             availability with
                                                 snapshots &
                              partition
                                              partition tolerance
                             tolerance

                                    41


Thursday, April 18, 13
Snapshots
       save us.

                              Swift / S3




                                           Snapshots




                         42


Thursday, April 18, 13
QA
             http://engineering.cloudscaling.com/portland13/


      Eric Windisch
      Principal Engineer - OpenStack, Cloudscaling
      @ewindisch
                         CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution*
                                                                  * All unlicensed or borrowed works retain their original licenses

Thursday, April 18, 13

Contenu connexe

Plus de Randy Bias

Plus de Randy Bias (20)

Connect Expo 2015 - Australia - Bringing OpenStack into the Enterprise
Connect Expo 2015 - Australia - Bringing OpenStack into the EnterpriseConnect Expo 2015 - Australia - Bringing OpenStack into the Enterprise
Connect Expo 2015 - Australia - Bringing OpenStack into the Enterprise
 
The Cloud Revolution - Philippines Cloud Summit
The Cloud Revolution - Philippines Cloud SummitThe Cloud Revolution - Philippines Cloud Summit
The Cloud Revolution - Philippines Cloud Summit
 
The Lie of a Benevolent Dictator; the Truth of a Working Democratic Meritocracy
The Lie of a Benevolent Dictator; the Truth of a Working Democratic MeritocracyThe Lie of a Benevolent Dictator; the Truth of a Working Democratic Meritocracy
The Lie of a Benevolent Dictator; the Truth of a Working Democratic Meritocracy
 
OpenStack Architected Like AWS (and GCP)
OpenStack Architected Like AWS (and GCP)OpenStack Architected Like AWS (and GCP)
OpenStack Architected Like AWS (and GCP)
 
OpenStack Scale-out Networking Architecture
OpenStack Scale-out Networking ArchitectureOpenStack Scale-out Networking Architecture
OpenStack Scale-out Networking Architecture
 
Pets vs. Cattle: The Elastic Cloud Story
Pets vs. Cattle: The Elastic Cloud StoryPets vs. Cattle: The Elastic Cloud Story
Pets vs. Cattle: The Elastic Cloud Story
 
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
 
AWS Repatriation: Bring Your Apps Back
AWS Repatriation: Bring Your Apps BackAWS Repatriation: Bring Your Apps Back
AWS Repatriation: Bring Your Apps Back
 
State of the Stack v2
State of the Stack v2State of the Stack v2
State of the Stack v2
 
Networking is NOT Free: Lessons in Network Design
Networking is NOT Free: Lessons in Network DesignNetworking is NOT Free: Lessons in Network Design
Networking is NOT Free: Lessons in Network Design
 
State of the Stack April 2013
State of the Stack April 2013State of the Stack April 2013
State of the Stack April 2013
 
Open Cloud System Networking Vision
Open Cloud System Networking VisionOpen Cloud System Networking Vision
Open Cloud System Networking Vision
 
OpenStack Summit :: Redundancy Doesn't Always Mean "HA" or "Cluster"
OpenStack Summit :: Redundancy Doesn't Always Mean "HA" or "Cluster"OpenStack Summit :: Redundancy Doesn't Always Mean "HA" or "Cluster"
OpenStack Summit :: Redundancy Doesn't Always Mean "HA" or "Cluster"
 
OpenStack Summit :: Profiling the Nova Scheduler
OpenStack Summit :: Profiling the Nova SchedulerOpenStack Summit :: Profiling the Nova Scheduler
OpenStack Summit :: Profiling the Nova Scheduler
 
OpenStack Summit :: Pimp My Cloud
OpenStack Summit :: Pimp My CloudOpenStack Summit :: Pimp My Cloud
OpenStack Summit :: Pimp My Cloud
 
2012 open storage summit keynote
2012 open storage summit   keynote2012 open storage summit   keynote
2012 open storage summit keynote
 
Distributed RPC in Nova with ZeroMQ
Distributed RPC in Nova with ZeroMQDistributed RPC in Nova with ZeroMQ
Distributed RPC in Nova with ZeroMQ
 
Architectures for open and scalable clouds
Architectures for open and scalable cloudsArchitectures for open and scalable clouds
Architectures for open and scalable clouds
 
Cloud Frontiers 2011
Cloud Frontiers 2011Cloud Frontiers 2011
Cloud Frontiers 2011
 
Is There Such a Thing as a Private Cloud? Citrix Synergy 2011
Is There Such a Thing as a Private Cloud? Citrix Synergy 2011Is There Such a Thing as a Private Cloud? Citrix Synergy 2011
Is There Such a Thing as a Private Cloud? Citrix Synergy 2011
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
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
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
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...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
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, ...
 
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
 
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...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

Scale-Out Block Storage

  • 1. Eric Windisch Cloudscaling Principal Engineer • OpenStack Dev since Cactus • Building PaaS since 2002 • Building IaaS since 2006 • Engineering lead for KT’s second-generation elastic block storage solution. Thursday, April 18, 13
  • 2. Scale Out Block Storage Thursday, April 18, 13
  • 3. Amazon’s Architecture (or what we can infer) Thursday, April 18, 13
  • 4. Control-plane + Storage EBS Control-plane EBS Storage EC2 4 Thursday, April 18, 13
  • 5. Distributed Storage “EBS is a distributed, replicated block data store that is optimized for consistency and low latency read and write access from EC2 instances.” 5 Thursday, April 18, 13
  • 6. Brewer’s Theorem: “It is impossible for a distributed system to simultaneously provide all three of the following guarantees.” consistency availability C A P partition tolerance 6 Thursday, April 18, 13
  • 7. Brewer’s Theorem: ial “It is impossible for a distributed system to simultaneously nt provide all three of sse following guarantees.” E the consistency availability C A = reliability P partition = reliability tolerance 7 Thursday, April 18, 13
  • 8. Brewer’s Theorem: ial “It is impossible for a distributed system to simultaneously nt provide all three of sse following guarantees.” E the consistency availability C A = reliability To have consistency, P EBS gives up partition = reliability reliability. tolerance 8 Thursday, April 18, 13
  • 9. Snapshots “Amazon EBS also provides the ability to create point-in-time snapshots of volumes... These snapshots... protect data for long-term durability.” For reliability, use snapshots. 9 Thursday, April 18, 13
  • 11. Real-life failures 11 Thursday, April 18, 13
  • 12. Real-life failures “ ” 12 Thursday, April 18, 13
  • 13. Real-life failures “ FF T U S ” 13 Thursday, April 18, 13
  • 14. Service Provider Failures - 100% Hardware rarely fails, operators fail, software fails Type Year Why Duration Switch 2005 Bug 2 hrs SAN 2007 Ops Err 24 hrs NAS 2008 Ops Err 8 hrs SAN 2011 Bug 72 hrs Datacenter 2012 Bug+Ops 2 hrs (names withheld to protect the guilty) 14 Thursday, April 18, 13
  • 15. What is Scale-out? A B A B C D N A B Scale-up - Make boxes Scale-out - Make moar bigger (usually an HA pair) boxes 15 Thursday, April 18, 13
  • 16. Scaling out is a mindset Scaling up is like treating your servers as pets bowzer.company.com web001.company.com Servers *are* cattle 16 Thursday, April 18, 13
  • 17. Big failure domains vs. small Would you rather have the whole cloud down or just a small bit for a short period of time? Still a scale-up pattern ... wouldn’t you rather scale-out? 17 Thursday, April 18, 13
  • 19. Cinder: Different than EBS? Cinder Control-plane Storage Compute 19 Thursday, April 18, 13
  • 20. Cinder Control Plane Control Plane Sto rag e 20 Thursday, April 18, 13
  • 21. Not just a control-plane Cinder Control-plane Storage Compute 21 Thursday, April 18, 13
  • 22. Storage Plugins emc coraid sheepdog huawei glusterfs solidfire netapp lvm storewize nexenta nfs windows san rbd (ceph) xiv xenapi scality zadara 18 different architectures 22 Thursday, April 18, 13
  • 23. Storage Plugin Choices really are: NAS DFS BLOCK 23 Thursday, April 18, 13
  • 24. Breaking the Cinder Control Plane Thursday, April 18, 13
  • 25. Scale-up, Scale-up (I hope nobody does this) XOne-really- big-server One-really- big-server X really-big really-big storage system storage system 25 Thursday, April 18, 13
  • 26. Diagram: Multi-backend pattern Cin der vol- man ager one big cinder Stor control-plane age Several really-big storage systems 26 Thursday, April 18, 13
  • 27. Diagram: Multi-backend pattern Many really-big Many really-big control-plane nodes storage systems 27 Thursday, April 18, 13
  • 28. Scale-out, Scale-out Complex. Split-brain problems. Cinder doesn’t natively support this. To fix this, lets talk about the storage backend. 28 Thursday, April 18, 13
  • 29. Breaking the Cinder Storage Backend This section needs a lot of work yet... Thursday, April 18, 13
  • 30. Scale-out, Scale-out Complex. Split-brain problems. Cinder doesn’t natively support this. 30 Thursday, April 18, 13
  • 31. Scale-out, then scale-up Transport Failed Storage Failed server Failure 31 Backend Thursday, April 18, 13
  • 32. “HA” Replication Cinder Control-plane HA PAIR 32 Thursday, April 18, 13
  • 33. Scale-out, Scale-out, HA Really Complex. Where is my data? More split-brain problems. Cinder still doesn’t support it. 33 Thursday, April 18, 13
  • 34. Networking complexity Imagine this was 4 or 6 nodes in the cluster 34 Thursday, April 18, 13
  • 35. Brewer’s Theorem: his se s t system to simultaneously “It is impossible for a distributed lo HA provide all three of the following guarantees.” consistency availability C A P in-consistent partition block storage? tolerance REALLY SCARY. 35 Thursday, April 18, 13
  • 37. We deploy Cinder like Nova. vo lume ^ API Scheduler Compute HTTP Proxy API Scheduler ^ me Compute volu 37 Thursday, April 18, 13
  • 38. Brokerless Messaging With ZeroMQ Distributed MessagingFailure 0MQ Avoiding RabbitMQ’s Single Point Of with Nova-Compute Nova-Compute Single Point Of Failure RabbitMQ Broker Nova-Scheduler Nova-API Nova-Scheduler Nova-API RabbitMQ vs. ZeroMQ (Brokered) Centralized Broker (Peer To Peer) Distributed Broker (peer to peer) 35 Thursday, October 18, 12 38 Thursday, April 18, 13
  • 39. Scale-together Simple. Deterministic. Won’t lose all data together. Can lose leaf-node data, but snapshots hedge against this. 39 Thursday, April 18, 13
  • 40. Brewer’s Theorem: “It is impossible for a distributed system to simultaneously provide all three of the following guarantees.” consistency availability C A P partition tolerance 40 Thursday, April 18, 13
  • 41. Brewer’s Theorem: “It is impossible for a distributed system to simultaneously provide all three of the following guarantees.” consistency availability C A We don’t need P availability with snapshots & partition partition tolerance tolerance 41 Thursday, April 18, 13
  • 42. Snapshots save us. Swift / S3 Snapshots 42 Thursday, April 18, 13
  • 43. QA http://engineering.cloudscaling.com/portland13/ Eric Windisch Principal Engineer - OpenStack, Cloudscaling @ewindisch CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution* * All unlicensed or borrowed works retain their original licenses Thursday, April 18, 13