SlideShare une entreprise Scribd logo
1  sur  24
Télécharger pour lire hors ligne
Live Demo Achieving Fault Tolerance in Your JEE/Spring App
In this Demo How GigaSpaces XAP guarantees continuous High Availability even under Database Failure Use of a popular standard web application stack
GigaSpaces Components: ,[object Object]
Web container
In-Memory Data GridApplication High Level  Architecture Data Grid used for: ,[object Object]
 Reduction of DB load
 Isolation of DB failureIn-Memory Data Grid Network Load-Balancer Database (Commodity, Background) Web Container/  App Server
How to Experience Database Failover? Step 1 – Deploy the demo on the cloud Step 2 – Add some data Step 3 – Experience database failure  Step 4 – Witness system healing from data crash
Step 1 – Deploy the demo on the cloud
Deploy The Pet Clinic Click Deploy Wait until application status: Deployed Expected waiting time: ~7 min
Step 2 – Add some data
Add a Pet Owner Click View PetClinic(allow pop-ups if necessary) Click Find Owner Click Add OwnerFill in the details of your imaginary pet owner
Validate Addition of Pet Owner Click HomeClick Find Owner Click Find Owners button Validate the addition of the new pet owner
Validate Data Persistency Click Database(follow plug-in instructions) When MySQL opens, type: select * from owners; Ensure the new pet owner is listed
Step 2 Recap The new pet owner is added to:  The In-Memory Data Grid The Database
Step 3 – Experience database failure
Database Connection Failure Disconnecting the database does not affect the end-user experience In-Memory Data Grid Network Load-Balancer Database (Commodity, Background) Web Container/  App Server See it for yourself! Instructions are next…
Disconnect Database (Simulating Failure) Locate the Database machine Click the Block Network button (located to the right) The machine is rebooted and data connections are blocked!
Add a Pet Owner Click HomeClick Find Owner  Click Add OwnerFill in the details of yet another pet owner A new owner was added to the IMDG, but NOT to the database! (database is disconnected)
Validate Data Availability Despite DB Failure Click HomeClick Find Owner Click Find Owners button Validate the addition of the new pet owner
Validate Owner Data Was NOT Persisted Make sure 30 seconds have passed since blocking network, to give the database machine time to reboot. Re-open the MySQL windowand type: select * from owners; Ensure the new pet owner does NOT exist
Step 3 Recap Disconnected database  Added a new owner Entry was added to the In-Memory Data Grid, but NOT to the database! Application runs as usual despite database failure!
STEP 4 – WITNESS SYSTEM RECOVERY FROM DATABASE FAILURE
Restoring Database Connection Restoring database connection and data persistency is initiated automatically In-Memory Data Grid Network Load-Balancer Database (Commodity, Background) Web Container/  App Server Instructions are next…

Contenu connexe

Similaire à GigaSpaces pet clinic demo

Uploading datasets to data site
Uploading datasets to data siteUploading datasets to data site
Uploading datasets to data sitecookcountyblog
 
Cis407 a ilab 3 web application development devry university
Cis407 a ilab 3 web application development devry universityCis407 a ilab 3 web application development devry university
Cis407 a ilab 3 web application development devry universitylhkslkdh89009
 
GigaSpaces CCF Quick Tour - 2.3.6
GigaSpaces CCF Quick Tour - 2.3.6GigaSpaces CCF Quick Tour - 2.3.6
GigaSpaces CCF Quick Tour - 2.3.6Shay Hassidim
 
AWS DeepLens Workshop_Build Computer Vision Applications
AWS DeepLens Workshop_Build Computer Vision Applications AWS DeepLens Workshop_Build Computer Vision Applications
AWS DeepLens Workshop_Build Computer Vision Applications Amazon Web Services
 
GigaSpaces Cloud Computing Framework 4 XAP - Quick Tour - v2
GigaSpaces Cloud Computing Framework 4 XAP - Quick Tour - v2GigaSpaces Cloud Computing Framework 4 XAP - Quick Tour - v2
GigaSpaces Cloud Computing Framework 4 XAP - Quick Tour - v2Shay Hassidim
 
Cis407 a ilab 7 web application development devry university
Cis407 a ilab 7 web application development devry universityCis407 a ilab 7 web application development devry university
Cis407 a ilab 7 web application development devry universitylhkslkdh89009
 
Windows logging cheat sheet
Windows logging cheat sheetWindows logging cheat sheet
Windows logging cheat sheetMichael Gough
 
How to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationHow to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationnitin2517
 
Automated Testing with Databases
Automated Testing with DatabasesAutomated Testing with Databases
Automated Testing with Databaseselliando dias
 
Maximising Data Governance in the Cloud
Maximising Data Governance in the CloudMaximising Data Governance in the Cloud
Maximising Data Governance in the CloudAmazon Web Services
 
Cis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry universityCis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry universitylhkslkdh89009
 
20.project inventry management system
20.project inventry management system20.project inventry management system
20.project inventry management systemLapi Mics
 
ConnectSMART Tutorials
ConnectSMART TutorialsConnectSMART Tutorials
ConnectSMART TutorialsConnectSMART
 
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Chica...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Chica...AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Chica...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Chica...Amazon Web Services
 
Using MISP VM ova file, import it on VirtualBox and respond to the q.pdf
Using MISP VM ova file, import it on VirtualBox and respond to the q.pdfUsing MISP VM ova file, import it on VirtualBox and respond to the q.pdf
Using MISP VM ova file, import it on VirtualBox and respond to the q.pdfinfo335653
 
Previous weeks work has been uploaded as well as any other pieces ne.docx
Previous weeks work has been uploaded as well as any other pieces ne.docxPrevious weeks work has been uploaded as well as any other pieces ne.docx
Previous weeks work has been uploaded as well as any other pieces ne.docxkeilenettie
 

Similaire à GigaSpaces pet clinic demo (20)

Uploading datasets to data site
Uploading datasets to data siteUploading datasets to data site
Uploading datasets to data site
 
Cis407 a ilab 3 web application development devry university
Cis407 a ilab 3 web application development devry universityCis407 a ilab 3 web application development devry university
Cis407 a ilab 3 web application development devry university
 
GigaSpaces CCF Quick Tour - 2.3.6
GigaSpaces CCF Quick Tour - 2.3.6GigaSpaces CCF Quick Tour - 2.3.6
GigaSpaces CCF Quick Tour - 2.3.6
 
AWS DeepLens Workshop_Build Computer Vision Applications
AWS DeepLens Workshop_Build Computer Vision Applications AWS DeepLens Workshop_Build Computer Vision Applications
AWS DeepLens Workshop_Build Computer Vision Applications
 
GigaSpaces Cloud Computing Framework 4 XAP - Quick Tour - v2
GigaSpaces Cloud Computing Framework 4 XAP - Quick Tour - v2GigaSpaces Cloud Computing Framework 4 XAP - Quick Tour - v2
GigaSpaces Cloud Computing Framework 4 XAP - Quick Tour - v2
 
Cpanel Guide
Cpanel GuideCpanel Guide
Cpanel Guide
 
Cis407 a ilab 7 web application development devry university
Cis407 a ilab 7 web application development devry universityCis407 a ilab 7 web application development devry university
Cis407 a ilab 7 web application development devry university
 
Windows logging cheat sheet
Windows logging cheat sheetWindows logging cheat sheet
Windows logging cheat sheet
 
How to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationHow to develop a gateway service using code based implementation
How to develop a gateway service using code based implementation
 
Automated Testing with Databases
Automated Testing with DatabasesAutomated Testing with Databases
Automated Testing with Databases
 
Maximising Data Governance in the Cloud
Maximising Data Governance in the CloudMaximising Data Governance in the Cloud
Maximising Data Governance in the Cloud
 
Cis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry universityCis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry university
 
20.project inventry management system
20.project inventry management system20.project inventry management system
20.project inventry management system
 
ConnectSMART Tutorials
ConnectSMART TutorialsConnectSMART Tutorials
ConnectSMART Tutorials
 
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Chica...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Chica...AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Chica...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Chica...
 
Using MISP VM ova file, import it on VirtualBox and respond to the q.pdf
Using MISP VM ova file, import it on VirtualBox and respond to the q.pdfUsing MISP VM ova file, import it on VirtualBox and respond to the q.pdf
Using MISP VM ova file, import it on VirtualBox and respond to the q.pdf
 
Repl ts
Repl tsRepl ts
Repl ts
 
Create Components in TomatoCMS
Create Components in TomatoCMSCreate Components in TomatoCMS
Create Components in TomatoCMS
 
Applications lab
Applications lab Applications lab
Applications lab
 
Previous weeks work has been uploaded as well as any other pieces ne.docx
Previous weeks work has been uploaded as well as any other pieces ne.docxPrevious weeks work has been uploaded as well as any other pieces ne.docx
Previous weeks work has been uploaded as well as any other pieces ne.docx
 

Plus de Nati Shalom

Cloudify and terraform integration
Cloudify and terraform integrationCloudify and terraform integration
Cloudify and terraform integrationNati Shalom
 
Why NFV and Digital Transformation Projects Fail!
Why NFV and Digital Transformation Projects Fail! Why NFV and Digital Transformation Projects Fail!
Why NFV and Digital Transformation Projects Fail! Nati Shalom
 
Cloudify and terraform integration
Cloudify and terraform integrationCloudify and terraform integration
Cloudify and terraform integrationNati Shalom
 
1 cloud, 2 clouds, 3 clouds, tons...
1 cloud, 2 clouds, 3 clouds, tons...1 cloud, 2 clouds, 3 clouds, tons...
1 cloud, 2 clouds, 3 clouds, tons...Nati Shalom
 
Open Stack Days israel Keynote 2017
Open Stack Days israel Keynote 2017Open Stack Days israel Keynote 2017
Open Stack Days israel Keynote 2017Nati Shalom
 
What A No Compromises Hybrid Cloud Looks Like
What A No Compromises Hybrid Cloud Looks Like What A No Compromises Hybrid Cloud Looks Like
What A No Compromises Hybrid Cloud Looks Like Nati Shalom
 
Running OpenStack in Production
Running OpenStack in Production Running OpenStack in Production
Running OpenStack in Production Nati Shalom
 
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...Nati Shalom
 
Real World Example of Orchestrating Docker, Node JS, NFV on OpenStack
Real World Example of Orchestrating Docker, Node JS, NFV on OpenStackReal World Example of Orchestrating Docker, Node JS, NFV on OpenStack
Real World Example of Orchestrating Docker, Node JS, NFV on OpenStackNati Shalom
 
OpenStack Juno The Complete Lowdown and Tales from the Summit
OpenStack Juno The Complete Lowdown and Tales from the SummitOpenStack Juno The Complete Lowdown and Tales from the Summit
OpenStack Juno The Complete Lowdown and Tales from the SummitNati Shalom
 
Application and Network Orchestration using Heat & Tosca
Application and Network Orchestration using Heat & ToscaApplication and Network Orchestration using Heat & Tosca
Application and Network Orchestration using Heat & ToscaNati Shalom
 
Introduction to Cloudify for OpenStack users
Introduction to Cloudify for OpenStack users Introduction to Cloudify for OpenStack users
Introduction to Cloudify for OpenStack users Nati Shalom
 
Software Defined Operator
Software Defined OperatorSoftware Defined Operator
Software Defined OperatorNati Shalom
 
Is Orchestration the Next Big Thing in DevOps
Is Orchestration the Next Big Thing in DevOpsIs Orchestration the Next Big Thing in DevOps
Is Orchestration the Next Big Thing in DevOpsNati Shalom
 
When networks meets apps (open stack atlanta)
When networks meets apps (open stack atlanta)When networks meets apps (open stack atlanta)
When networks meets apps (open stack atlanta)Nati Shalom
 
Application Centric Approach to Devops
Application Centric Approach to DevopsApplication Centric Approach to Devops
Application Centric Approach to DevopsNati Shalom
 
Case Studies for moving apps to the cloud - DLD 2013
Case Studies for moving apps to the cloud - DLD 2013Case Studies for moving apps to the cloud - DLD 2013
Case Studies for moving apps to the cloud - DLD 2013Nati Shalom
 
Application Centric DevOps
Application Centric DevOpsApplication Centric DevOps
Application Centric DevOpsNati Shalom
 
Real-Time Big Data at In-Memory Speed, Using Storm
Real-Time Big Data at In-Memory Speed, Using StormReal-Time Big Data at In-Memory Speed, Using Storm
Real-Time Big Data at In-Memory Speed, Using StormNati Shalom
 
Disaster Recovery on Demand on the Cloud
Disaster Recovery on Demand on the CloudDisaster Recovery on Demand on the Cloud
Disaster Recovery on Demand on the CloudNati Shalom
 

Plus de Nati Shalom (20)

Cloudify and terraform integration
Cloudify and terraform integrationCloudify and terraform integration
Cloudify and terraform integration
 
Why NFV and Digital Transformation Projects Fail!
Why NFV and Digital Transformation Projects Fail! Why NFV and Digital Transformation Projects Fail!
Why NFV and Digital Transformation Projects Fail!
 
Cloudify and terraform integration
Cloudify and terraform integrationCloudify and terraform integration
Cloudify and terraform integration
 
1 cloud, 2 clouds, 3 clouds, tons...
1 cloud, 2 clouds, 3 clouds, tons...1 cloud, 2 clouds, 3 clouds, tons...
1 cloud, 2 clouds, 3 clouds, tons...
 
Open Stack Days israel Keynote 2017
Open Stack Days israel Keynote 2017Open Stack Days israel Keynote 2017
Open Stack Days israel Keynote 2017
 
What A No Compromises Hybrid Cloud Looks Like
What A No Compromises Hybrid Cloud Looks Like What A No Compromises Hybrid Cloud Looks Like
What A No Compromises Hybrid Cloud Looks Like
 
Running OpenStack in Production
Running OpenStack in Production Running OpenStack in Production
Running OpenStack in Production
 
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
 
Real World Example of Orchestrating Docker, Node JS, NFV on OpenStack
Real World Example of Orchestrating Docker, Node JS, NFV on OpenStackReal World Example of Orchestrating Docker, Node JS, NFV on OpenStack
Real World Example of Orchestrating Docker, Node JS, NFV on OpenStack
 
OpenStack Juno The Complete Lowdown and Tales from the Summit
OpenStack Juno The Complete Lowdown and Tales from the SummitOpenStack Juno The Complete Lowdown and Tales from the Summit
OpenStack Juno The Complete Lowdown and Tales from the Summit
 
Application and Network Orchestration using Heat & Tosca
Application and Network Orchestration using Heat & ToscaApplication and Network Orchestration using Heat & Tosca
Application and Network Orchestration using Heat & Tosca
 
Introduction to Cloudify for OpenStack users
Introduction to Cloudify for OpenStack users Introduction to Cloudify for OpenStack users
Introduction to Cloudify for OpenStack users
 
Software Defined Operator
Software Defined OperatorSoftware Defined Operator
Software Defined Operator
 
Is Orchestration the Next Big Thing in DevOps
Is Orchestration the Next Big Thing in DevOpsIs Orchestration the Next Big Thing in DevOps
Is Orchestration the Next Big Thing in DevOps
 
When networks meets apps (open stack atlanta)
When networks meets apps (open stack atlanta)When networks meets apps (open stack atlanta)
When networks meets apps (open stack atlanta)
 
Application Centric Approach to Devops
Application Centric Approach to DevopsApplication Centric Approach to Devops
Application Centric Approach to Devops
 
Case Studies for moving apps to the cloud - DLD 2013
Case Studies for moving apps to the cloud - DLD 2013Case Studies for moving apps to the cloud - DLD 2013
Case Studies for moving apps to the cloud - DLD 2013
 
Application Centric DevOps
Application Centric DevOpsApplication Centric DevOps
Application Centric DevOps
 
Real-Time Big Data at In-Memory Speed, Using Storm
Real-Time Big Data at In-Memory Speed, Using StormReal-Time Big Data at In-Memory Speed, Using Storm
Real-Time Big Data at In-Memory Speed, Using Storm
 
Disaster Recovery on Demand on the Cloud
Disaster Recovery on Demand on the CloudDisaster Recovery on Demand on the Cloud
Disaster Recovery on Demand on the Cloud
 

GigaSpaces pet clinic demo

  • 1. Live Demo Achieving Fault Tolerance in Your JEE/Spring App
  • 2. In this Demo How GigaSpaces XAP guarantees continuous High Availability even under Database Failure Use of a popular standard web application stack
  • 3.
  • 5.
  • 7. Isolation of DB failureIn-Memory Data Grid Network Load-Balancer Database (Commodity, Background) Web Container/ App Server
  • 8. How to Experience Database Failover? Step 1 – Deploy the demo on the cloud Step 2 – Add some data Step 3 – Experience database failure Step 4 – Witness system healing from data crash
  • 9. Step 1 – Deploy the demo on the cloud
  • 10. Deploy The Pet Clinic Click Deploy Wait until application status: Deployed Expected waiting time: ~7 min
  • 11. Step 2 – Add some data
  • 12. Add a Pet Owner Click View PetClinic(allow pop-ups if necessary) Click Find Owner Click Add OwnerFill in the details of your imaginary pet owner
  • 13. Validate Addition of Pet Owner Click HomeClick Find Owner Click Find Owners button Validate the addition of the new pet owner
  • 14. Validate Data Persistency Click Database(follow plug-in instructions) When MySQL opens, type: select * from owners; Ensure the new pet owner is listed
  • 15. Step 2 Recap The new pet owner is added to: The In-Memory Data Grid The Database
  • 16. Step 3 – Experience database failure
  • 17. Database Connection Failure Disconnecting the database does not affect the end-user experience In-Memory Data Grid Network Load-Balancer Database (Commodity, Background) Web Container/ App Server See it for yourself! Instructions are next…
  • 18. Disconnect Database (Simulating Failure) Locate the Database machine Click the Block Network button (located to the right) The machine is rebooted and data connections are blocked!
  • 19. Add a Pet Owner Click HomeClick Find Owner Click Add OwnerFill in the details of yet another pet owner A new owner was added to the IMDG, but NOT to the database! (database is disconnected)
  • 20. Validate Data Availability Despite DB Failure Click HomeClick Find Owner Click Find Owners button Validate the addition of the new pet owner
  • 21. Validate Owner Data Was NOT Persisted Make sure 30 seconds have passed since blocking network, to give the database machine time to reboot. Re-open the MySQL windowand type: select * from owners; Ensure the new pet owner does NOT exist
  • 22. Step 3 Recap Disconnected database Added a new owner Entry was added to the In-Memory Data Grid, but NOT to the database! Application runs as usual despite database failure!
  • 23. STEP 4 – WITNESS SYSTEM RECOVERY FROM DATABASE FAILURE
  • 24. Restoring Database Connection Restoring database connection and data persistency is initiated automatically In-Memory Data Grid Network Load-Balancer Database (Commodity, Background) Web Container/ App Server Instructions are next…
  • 25. Restore Database Locate the Database machine.Click the Unblock Network button. Wait a few seconds for the database to be updated.
  • 26. Validate Data Persistency Switch to MySQL and type: select * from owners; Ensure the new pet owner is listed
  • 27. What Did this Demonstration Show? A standard web application that maintained availability despite a database failure The application was not affected by either the database failure OR restoration
  • 28. Thank you! Download the demo source code to run on your machine:http://www.openspaces.org/display/DAE/GigaSpaces+PetClinic