Architecting for Continuous Delivery

1,175
-1

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,175
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Architecting for Continuous Delivery

  1. 1. Axel Fontaine @axelfontaine axelfontaine.comSoftware Development Expert business@axelfontaine.com
  2. 2. Goal Automatically deploy a complete application into production multiple times a day with zero downtime
  3. 3. Perspective
  4. 4. http://digitalcitizen.ca/2009/06/22/simpsons-profile-pics-for-facebook-and-other-applications/
  5. 5. ContinuousDelivery http://www.flickr.com/photos/kamshots/3096111340/
  6. 6. code.flickr.com
  7. 7. stackoverflow.com
  8. 8. Prerequisites
  9. 9. DEVBuildSmallTests
  10. 10. DEVBuildSmallTestsMedium Tests
  11. 11. DEVBuildSmallTestsMedium Tests Large Tests
  12. 12. DEV Continuous IntegrationBuild Build Version ControlSmall SmallTests TestsMedium Medium Tests Tests Large Large Tests Tests
  13. 13. DeploymentAutomation http://www.flickr.com/photos/soldiersmediacenter/3650607959/
  14. 14. DoNOTdeploySNAPSHOTS !
  15. 15. DEV Continuous IntegrationBuild Build Release Version Artifact Control RepositorySmall SmallTests TestsMedium Medium Tests Tests Large Large Tests Tests
  16. 16. What gets deployed?Code Configuration DB Delta
  17. 17. backup stop install start … CodeDeployment Deployment Script Package
  18. 18. backup stop install start … CodeDeployment Deployment Script Package
  19. 19. Continuous TargetIntegration backup stop install start … Release Artifact Deployment Repository Script
  20. 20. Configuration ApplicationEnvironment + Application Security Environment Configuration Deployment Code File Server Package System
  21. 21. Environment Detection ? Code Deployment Package
  22. 22. Environment Acceptance Detection Code Auto-Configuration
  23. 23. Continuous TargetIntegration backup stop install start … Release Artifact Deployment Repository Script
  24. 24. DB Delta CodeDeployment Package
  25. 25. Database Migrations Code ? ? DB Deployment Package
  26. 26. Database Migrations http://flywaydb.org
  27. 27. Continuous TargetIntegration backup stop install start … Release Artifact Deployment Repository Script
  28. 28. MailServiceRegistration
  29. 29. MailServiceRegistration
  30. 30. MailServiceRegistration v2 ParcelService
  31. 31. Feature TogglesBranch by Abstraction MailService Registration ParcelService
  32. 32. Feature TogglesBranch by Abstraction MailService Registration ParcelService
  33. 33. DB
  34. 34. Memcache DB
  35. 35. State ManagementBlue/Green Deployments Memcache DB
  36. 36. Summary
  37. 37. Continuous TargetDEV Integration backup stop install start …Build Build Release Deployment Version Artifact Control Script RepositorySmall SmallTests TestsMedium Medium Tests Tests Large Large Tests Tests
  38. 38. http://de.wikipedia.org/wiki/Datei:Yemen_Chameleon.jpg
  39. 39. One more thing
  40. 40. Axel Fontaine @axelfontaine axelfontaine.comSoftware Development Expert business@axelfontaine.com

×