XP Days Ukraine 2013 - Architecting for Continuous Delivery

  • 487 views
Uploaded on

Slides from my talk at XP Days Ukraine 2013

Slides from my talk at XP Days Ukraine 2013

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
487
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
19
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Architecting for CONTINUOUS DELIVERY AXEL FONTAINE axelfontaine.com - @axelfontaine
  • 2. AXEL FONTAINE Software Development Expert axelfontaine.com - @axelfontaine business@axelfontaine.com Continuous Delivery expert Regular Speaker at Conferences Founder of Flyway flywaydb.org Working on Photon getphoton.com
  • 3. about questions
  • 4. Fully automated deployment of a complete application into production multiple times a day with zero downtime GOAL
  • 5. Putting things into PERSPECTIVE
  • 6. http://digitalcitizen.ca/2009/06/22/simpsons-profile-pics-for-facebook-and-other-applications/
  • 7. CONTINUOUS DELIVERY http://www.flickr.com/photos/kamshots/3096111340/
  • 8. stackoverflow.com
  • 9. stackoverflow.com
  • 10. stackoverflow.com
  • 11. stackoverflow.com
  • 12. Prerequisites
  • 13. Process http://www.flickr.com/photos/feffef/460299390/in/photostream/
  • 14. Process http://www.flickr.com/photos/feffef/460299390/in/photostream/
  • 15. Build
  • 16. Build
  • 17. Version Control
  • 18. Version Control
  • 19. Test http://www.flickr.com/photos/vitorcastillo/2994723741/
  • 20. Test http://www.flickr.com/photos/vitorcastillo/2994723741/
  • 21. DEV Build Small Tests
  • 22. DEV Build Small Tests Medium Tests
  • 23. DEV Build Small Tests Medium Tests Large Tests
  • 24. Continuous Integration DEV Build Version Control Build Small Tests Small Tests Medium Tests Medium Tests Large Tests Large Tests
  • 25. DEPLOYMENT automation http://www.flickr.com/photos/soldiersmediacenter/3650607959/
  • 26. do NOT deploy SNAPSHOTS !
  • 27. Continuous Integration DEV Build Version Control Build Small Tests Small Tests Medium Tests Medium Tests Large Tests Large Tests Release Artifact Repository
  • 28. What gets deployed? Code Configuration DB Delta
  • 29. Code Deployment Package
  • 30. backup stop install start … Deployment Script Code Deployment Package
  • 31. backup stop install start … Deployment Script Code Deployment Package
  • 32. Continuous Integration Target backup stop install start … Release Artifact Repository Deployment Script
  • 33. Configuration Maybe it could change one day Code ≠ Environments Deployment Package
  • 34. Environment Detection ? Code Deployment Package
  • 35. Environment Detection Test Code AutoConfiguration
  • 36. Continuous Integration Target backup stop install start … Release Artifact Repository Deployment Script
  • 37. DB Delta
  • 38. VS DML DDL
  • 39. DB Delta Code Deployment Package
  • 40. ? Code ? Deployment Package DB
  • 41. flywaydb.org
  • 42. Continuous Integration Target backup stop install start … Release Artifact Repository Deployment Script
  • 43. MailService Registration
  • 44. MailService Registration
  • 45. MailService Registration v2 ParcelService
  • 46. Feature Toggles Branch by Abstraction MailService Registration ParcelService
  • 47. Feature Toggles Branch by Abstraction MailService Registration ParcelService
  • 48. DB
  • 49. DB
  • 50. DB
  • 51. State Management Blue/Green Deployments DB
  • 52. Summary
  • 53. DEV Build Target Continuous Integration Version Control backup stop install start … Build Release Artifact Repository Small Tests Small Tests Medium Tests Medium Tests Large Tests Large Tests Deployment Script
  • 54. http://de.wikipedia.org/wiki/Datei:Yemen_Chameleon.jpg
  • 55. One more thing
  • 56. http://axelfontaine.com/blog/final-nail.html http://axelfontaine.com/blog/environment-detection.html http://martinfowler.com/bliki/FeatureToggle.html http://googletesting.blogspot.com/2010/12/test-sizes.html
  • 57. AXEL FONTAINE Software Development Expert @axelfontaine axelfontaine.com business@axelfontaine.com