SlideShare une entreprise Scribd logo
1  sur  15
Télécharger pour lire hors ligne
06/07/2016 WCN 2016 1
Practical Aspects Of State Machine
Replication Virtualization
Ederson Torresini1
Eduardo Alchieri2
Luis Pacheco2
Marcos Caetano2
1Campus São José
Instituto Federal de Santa Catarina
2Departamento de Ciência da Computação
Universidade de Brasília
06/07/2016 WCN 2016 2
Outline
● Introduction
● Virtualization
● State Machine Replication
– BFT-SMaRt
● Experiments
● Conclusions and Future Work
06/07/2016 WCN 2016 3
● State Machine Replication (SMR) is a technique widely used to
implement dependable systems
● Virtualization also could be seem as a technique that helps the
development of dependable systems
– Some works proposed the integration of protocols for SMR
and virtualization (both, virtual machines or containers)
● Our goal: Use a SMR library to implement an application for
assess its performance and resources consumption when
deployed in both, virtual machines and containers
Introduction
06/07/2016 WCN 2016 4
Virtualization
● Virtual Machines (KVM) vs. Containers (Docker)
06/07/2016 WCN 2016 5
State Machine Replication
● Approach that replicates the servers and coordinates the
interactions among clients and servers
– Same state evolution
● Provide replica determinism:
– All replicas (1) starting with the same state and (2) executing
the same set of operations in the same order, (3) reach the
same final state
06/07/2016 WCN 2016 6
State Machine Replication
op1
op2
Atomic multicast
op1, op2
op1,op2
op1, op2
op1, op2
Clients
Servers
06/07/2016 WCN 2016 7
BFT-SMaRt
● Java library used to implement replicated applications (SMR)
06/07/2016 WCN 2016 8
Experiments
● We used one server and deployed a set of containers or virtual
machines
– Virtual Machines: KVM
– Containers: Docker
● BFT-SMaRt was configured with 3 servers (f=1)
– 10 clients executed in a different machine
● Aplication: linked list
– Operations: ADD, REMOVE, GET and CONTAINS
– Initialized with 100k entries
– 25000 requests (25% for each type)
06/07/2016 WCN 2016 9
Experiments: Latency
06/07/2016 WCN 2016 10
Experiments: Throughput
06/07/2016 WCN 2016 11
Experiments: CPU
06/07/2016 WCN 2016 12
Experiments: Memory
06/07/2016 WCN 2016 13
Experiments: Network
06/07/2016 WCN 2016 14
Conclusions and Future Work
● We analysed the performance and the resources consumption of
an application replicated using the SMR approach
– Containers vs. Virtual Machines
– We found that containers perform better than virtual
machines and, at same time, require less resources
● Important for a cloud computing scenario, where you pay
for what you use
● Future work
– Integrate the SMR approach in the Kubernetes, a manager of
containers
– Compare these scenarios with the use of physical machines
● BFT-SMaRt: http://bft-smart.github.io/library
06/07/2016 WCN 2016 15

Contenu connexe

Similaire à Practical Aspects of State Machine Replication Virtualization

AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...
Ryousei Takano
 

Similaire à Practical Aspects of State Machine Replication Virtualization (20)

Service Engineering, ZHAW for CeBIT
Service Engineering, ZHAW for CeBITService Engineering, ZHAW for CeBIT
Service Engineering, ZHAW for CeBIT
 
Microservice Workshop Hands On
Microservice Workshop Hands On Microservice Workshop Hands On
Microservice Workshop Hands On
 
"Cloud Computing for HPC"
"Cloud Computing for HPC""Cloud Computing for HPC"
"Cloud Computing for HPC"
 
Migrating from oracle soa suite to microservices on kubernetes
Migrating from oracle soa suite to microservices on kubernetesMigrating from oracle soa suite to microservices on kubernetes
Migrating from oracle soa suite to microservices on kubernetes
 
Microservices on AWS Spot instances
Microservices on AWS Spot instancesMicroservices on AWS Spot instances
Microservices on AWS Spot instances
 
C. Sotiriou, Vodafone Greece: Adopting Quarkus for the digital experience layer
C. Sotiriou, Vodafone Greece: Adopting Quarkus for the digital experience layerC. Sotiriou, Vodafone Greece: Adopting Quarkus for the digital experience layer
C. Sotiriou, Vodafone Greece: Adopting Quarkus for the digital experience layer
 
Event driven architectures with Kinesis
Event driven architectures with KinesisEvent driven architectures with Kinesis
Event driven architectures with Kinesis
 
Developing Microservices using Spring - Beginner's Guide
Developing Microservices using Spring - Beginner's GuideDeveloping Microservices using Spring - Beginner's Guide
Developing Microservices using Spring - Beginner's Guide
 
AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...
 
OpenTelemetry For Architects
OpenTelemetry For ArchitectsOpenTelemetry For Architects
OpenTelemetry For Architects
 
Rally--OpenStack Benchmarking at Scale
Rally--OpenStack Benchmarking at ScaleRally--OpenStack Benchmarking at Scale
Rally--OpenStack Benchmarking at Scale
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
 
Microservices @ Work - A Practice Report of Developing Microservices
Microservices @ Work - A Practice Report of Developing MicroservicesMicroservices @ Work - A Practice Report of Developing Microservices
Microservices @ Work - A Practice Report of Developing Microservices
 
Semantically enhanced quality assurance in the jurion business use case
Semantically enhanced quality assurance in the jurion  business use caseSemantically enhanced quality assurance in the jurion  business use case
Semantically enhanced quality assurance in the jurion business use case
 
Lagom : Reactive microservice framework
Lagom : Reactive microservice frameworkLagom : Reactive microservice framework
Lagom : Reactive microservice framework
 
Microservices Patterns and Anti-Patterns
Microservices Patterns and Anti-PatternsMicroservices Patterns and Anti-Patterns
Microservices Patterns and Anti-Patterns
 
The DEBS Grand Challenge 2017
The DEBS Grand Challenge 2017The DEBS Grand Challenge 2017
The DEBS Grand Challenge 2017
 
WSO2 API Microgateway for Easier Development and Greater Scalability
WSO2 API Microgateway for Easier Development and Greater ScalabilityWSO2 API Microgateway for Easier Development and Greater Scalability
WSO2 API Microgateway for Easier Development and Greater Scalability
 
Paraiso cloud2016.key
Paraiso   cloud2016.keyParaiso   cloud2016.key
Paraiso cloud2016.key
 
Uber Business Metrics Generation and Management Through Apache Flink
Uber Business Metrics Generation and Management Through Apache FlinkUber Business Metrics Generation and Management Through Apache Flink
Uber Business Metrics Generation and Management Through Apache Flink
 

Plus de EUBrasilCloudFORUM .

EUBrasilCloudFORUM - Concertation Meeting
EUBrasilCloudFORUM - Concertation MeetingEUBrasilCloudFORUM - Concertation Meeting
EUBrasilCloudFORUM - Concertation Meeting
EUBrasilCloudFORUM .
 

Plus de EUBrasilCloudFORUM . (20)

FUTEBOL - Concertation Meeting EUBrasilCloudFORUM
FUTEBOL - Concertation Meeting EUBrasilCloudFORUMFUTEBOL - Concertation Meeting EUBrasilCloudFORUM
FUTEBOL - Concertation Meeting EUBrasilCloudFORUM
 
SWAMP - Concertation Meeting EUBrasilCloudFORUM
SWAMP - Concertation Meeting EUBrasilCloudFORUMSWAMP - Concertation Meeting EUBrasilCloudFORUM
SWAMP - Concertation Meeting EUBrasilCloudFORUM
 
EUBrasilCloudFORUM - Concertation Meeting
EUBrasilCloudFORUM - Concertation MeetingEUBrasilCloudFORUM - Concertation Meeting
EUBrasilCloudFORUM - Concertation Meeting
 
NECOS - Concertation Meeting EUBrasilCloudFORUM
NECOS -  Concertation Meeting EUBrasilCloudFORUMNECOS -  Concertation Meeting EUBrasilCloudFORUM
NECOS - Concertation Meeting EUBrasilCloudFORUM
 
OCARIoT - Concertation Meeting EUBrasilCloudFORUM
OCARIoT - Concertation Meeting EUBrasilCloudFORUMOCARIoT - Concertation Meeting EUBrasilCloudFORUM
OCARIoT - Concertation Meeting EUBrasilCloudFORUM
 
FASTEN - Concertation Meeting EUBrasilCloudFORUM
FASTEN - Concertation Meeting EUBrasilCloudFORUMFASTEN - Concertation Meeting EUBrasilCloudFORUM
FASTEN - Concertation Meeting EUBrasilCloudFORUM
 
5G-RANGE - Concertation Meeting EUBrasilCloudFORUM
5G-RANGE - Concertation Meeting EUBrasilCloudFORUM5G-RANGE - Concertation Meeting EUBrasilCloudFORUM
5G-RANGE - Concertation Meeting EUBrasilCloudFORUM
 
SecureCloud - Concertation Meeting EUBrasilCloudFORUM
SecureCloud  - Concertation Meeting EUBrasilCloudFORUMSecureCloud  - Concertation Meeting EUBrasilCloudFORUM
SecureCloud - Concertation Meeting EUBrasilCloudFORUM
 
HPC4E - Concertation Meeting EUBrasilCloudFORUM
HPC4E - Concertation Meeting EUBrasilCloudFORUMHPC4E - Concertation Meeting EUBrasilCloudFORUM
HPC4E - Concertation Meeting EUBrasilCloudFORUM
 
ATMOSPHERE - Concertation Meeting EUBrasilCloudFORUM
ATMOSPHERE - Concertation Meeting EUBrasilCloudFORUMATMOSPHERE - Concertation Meeting EUBrasilCloudFORUM
ATMOSPHERE - Concertation Meeting EUBrasilCloudFORUM
 
PITCH - WisoApp at CloudscapeBrazil 2017
PITCH - WisoApp at CloudscapeBrazil 2017PITCH - WisoApp at CloudscapeBrazil 2017
PITCH - WisoApp at CloudscapeBrazil 2017
 
PITCH - Ustore at CloudscapeBrazil 2017
PITCH - Ustore at CloudscapeBrazil 2017PITCH - Ustore at CloudscapeBrazil 2017
PITCH - Ustore at CloudscapeBrazil 2017
 
PITCH - IN2 at CloudscapeBrazil 2017
PITCH - IN2 at CloudscapeBrazil 2017PITCH - IN2 at CloudscapeBrazil 2017
PITCH - IN2 at CloudscapeBrazil 2017
 
Melodic
Melodic Melodic
Melodic
 
Lessons learned from the development of FUTEBOL A case of cloud and fog inter...
Lessons learned from the development of FUTEBOL A case of cloud and fog inter...Lessons learned from the development of FUTEBOL A case of cloud and fog inter...
Lessons learned from the development of FUTEBOL A case of cloud and fog inter...
 
SIG-Special Interest Group in Cloud Computing
SIG-Special Interest Group in Cloud Computing SIG-Special Interest Group in Cloud Computing
SIG-Special Interest Group in Cloud Computing
 
SBC Thematic Groups Organization
SBC Thematic Groups OrganizationSBC Thematic Groups Organization
SBC Thematic Groups Organization
 
Laying the foundation for a SIG (Special Interest Group) in Cloud Computing
Laying the foundation for a SIG (Special Interest Group) in Cloud ComputingLaying the foundation for a SIG (Special Interest Group) in Cloud Computing
Laying the foundation for a SIG (Special Interest Group) in Cloud Computing
 
Session 2: Cloudscape Brazil 2017 & WCN Position Papers: Discussion session
Session 2: Cloudscape Brazil 2017 & WCN Position Papers: Discussion sessionSession 2: Cloudscape Brazil 2017 & WCN Position Papers: Discussion session
Session 2: Cloudscape Brazil 2017 & WCN Position Papers: Discussion session
 
Enabling Privacy and Security for Data Outsourced to the Cloud
Enabling Privacy and Security for Data Outsourced to the CloudEnabling Privacy and Security for Data Outsourced to the Cloud
Enabling Privacy and Security for Data Outsourced to the Cloud
 

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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

Practical Aspects of State Machine Replication Virtualization

  • 1. 06/07/2016 WCN 2016 1 Practical Aspects Of State Machine Replication Virtualization Ederson Torresini1 Eduardo Alchieri2 Luis Pacheco2 Marcos Caetano2 1Campus São José Instituto Federal de Santa Catarina 2Departamento de Ciência da Computação Universidade de Brasília
  • 2. 06/07/2016 WCN 2016 2 Outline ● Introduction ● Virtualization ● State Machine Replication – BFT-SMaRt ● Experiments ● Conclusions and Future Work
  • 3. 06/07/2016 WCN 2016 3 ● State Machine Replication (SMR) is a technique widely used to implement dependable systems ● Virtualization also could be seem as a technique that helps the development of dependable systems – Some works proposed the integration of protocols for SMR and virtualization (both, virtual machines or containers) ● Our goal: Use a SMR library to implement an application for assess its performance and resources consumption when deployed in both, virtual machines and containers Introduction
  • 4. 06/07/2016 WCN 2016 4 Virtualization ● Virtual Machines (KVM) vs. Containers (Docker)
  • 5. 06/07/2016 WCN 2016 5 State Machine Replication ● Approach that replicates the servers and coordinates the interactions among clients and servers – Same state evolution ● Provide replica determinism: – All replicas (1) starting with the same state and (2) executing the same set of operations in the same order, (3) reach the same final state
  • 6. 06/07/2016 WCN 2016 6 State Machine Replication op1 op2 Atomic multicast op1, op2 op1,op2 op1, op2 op1, op2 Clients Servers
  • 7. 06/07/2016 WCN 2016 7 BFT-SMaRt ● Java library used to implement replicated applications (SMR)
  • 8. 06/07/2016 WCN 2016 8 Experiments ● We used one server and deployed a set of containers or virtual machines – Virtual Machines: KVM – Containers: Docker ● BFT-SMaRt was configured with 3 servers (f=1) – 10 clients executed in a different machine ● Aplication: linked list – Operations: ADD, REMOVE, GET and CONTAINS – Initialized with 100k entries – 25000 requests (25% for each type)
  • 9. 06/07/2016 WCN 2016 9 Experiments: Latency
  • 10. 06/07/2016 WCN 2016 10 Experiments: Throughput
  • 11. 06/07/2016 WCN 2016 11 Experiments: CPU
  • 12. 06/07/2016 WCN 2016 12 Experiments: Memory
  • 13. 06/07/2016 WCN 2016 13 Experiments: Network
  • 14. 06/07/2016 WCN 2016 14 Conclusions and Future Work ● We analysed the performance and the resources consumption of an application replicated using the SMR approach – Containers vs. Virtual Machines – We found that containers perform better than virtual machines and, at same time, require less resources ● Important for a cloud computing scenario, where you pay for what you use ● Future work – Integrate the SMR approach in the Kubernetes, a manager of containers – Compare these scenarios with the use of physical machines ● BFT-SMaRt: http://bft-smart.github.io/library