Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Releasing the Monolith On a Daily Basis

19.861 Aufrufe

Veröffentlicht am

Struggling to get software released on a daily basis? Wondering how to apply the same techniques that make companies successful with continuous deployment? What if your company isn’t in a greenfield situation and carries build legacy? What if developers on your team have a mindset that is the opposite of continuous deployment? This is a story about the Confluence development team and their journey from struggling to release once a week to releasing every day. Learn about the challenges the team faced and the interesting solutions they came up with to reach their goals while avoiding many rabbit holes along the way. In this session, you will get many interesting insights and techniques that you can apply immediately in your own organization's journey towards continuous deployment.

Products covered:
Confluence, HipChat, Bamboo

Veröffentlicht in: Technologie
  • Login to see the comments

Releasing the Monolith On a Daily Basis

  1. 1. VINCENT KOK • DEVELOPMENT MANAGER • ATLASSIAN • @VINCENTKOK Releasing the Monolith On a Daily Basis
  2. 2. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Monolith https://flic.kr/p/nA4S49
  3. 3. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Cool stories
  4. 4. http://geekandpoke.typepad.com/geekandpoke/2011/08/hudson-status-monitor.html
  5. 5. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Got issues? https://flic.kr/p/fSopv4
  6. 6. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Journey https://flic.kr/p/8WQutt
  7. 7. CONFLUENCE PIPELINE MICROSERVICE ENVY 4 PROBLEMS Agenda CULTURE
  8. 8. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Confluence Pipeline https://flic.kr/p/jus4Bt
  9. 9. Nr of daily master builds 286
  10. 10. Nr of tests 31992
  11. 11. Nr of build agents 800
  12. 12. Flakes NaN
  13. 13. Size of Pipeline team 3
  14. 14. Confluence Pipeline ReleaseInner Outer Publish DeployA1 A2
  15. 15. True story Publish Deploy ReleaseInner Outer A1 A2 A1 A2 Manual release branch Development Env
  16. 16. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Not Great https://flic.kr/p/7D1D1N
  17. 17. < 1 hour
  18. 18. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Culture https://flic.kr/p/DsetEn
  19. 19. GreenDex
  20. 20. GreenDex
  21. 21. ResultsBeliefsExperience Actions The Oz Principle The way you’ve been shaped Beliefs are based on your experience You take actions based on your beliefs The outcome of our actions
  22. 22. Clear goal Early results Momentum Theory in real life
  23. 23. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Microservice Envy https://flic.kr/p/b7ak8e
  24. 24. Smaller Clear ownership Independent Lifecycle Microservice traits
  25. 25. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Monolith https://flic.kr/p/nA4S49
  26. 26. < 1 hour
  27. 27. < 1 day
  28. 28. ReleasesOwnershipComplexity Testing
  29. 29. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace #1: Complexity https://flic.kr/p/cFM3cd
  30. 30. Show me complexity Outer A1 A2 A1 A2 Manual release branch Development Env
  31. 31. Manual tasks Hard to understand Inconsistent feedback Impact
  32. 32. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Fix the model https://flic.kr/p/8ykpkW
  33. 33. Early result Outer A1 A2 Manual release branch Development Env A2
  34. 34. Fork/Join details
  35. 35. Inner loop Build times Build stability Iterate
  36. 36. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace #2: Ownership https://flic.kr/p/bfRuoX
  37. 37. Getting the model wrong
  38. 38. Fire fighting Broken windows No improvements Impact
  39. 39. Dev Speed Feedback loop MTTR Impact
  40. 40. Ownership Development Teams Sustainable environment Site Reliability Engineering Pipeline
  41. 41. Early result Move the needle Measure everything Visibility Create awareness in the wider team Gather data to allow data driven decisions and prioritisation Focus on quick wins to move the needle
  42. 42. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Sustainable System https://flic.kr/p/awVLLs
  43. 43. Define rules Shared Ownership Enforce by automation Iterate
  44. 44. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace #3: Testing https://flic.kr/p/cBbxuQ
  45. 45. Unit Service UI
  46. 46. Unit Service UI
  47. 47. Slowness Duplication Flakes Impact
  48. 48. The impact of flakes Broken windows Culture Build times Due to restarts build times get out of control really quickly Builds will go red people will start to ignore this; Culture of green out of the window It starts with one, many will follow soon
  49. 49. Retries as a pain killer Automatic retries to relieve some pain. Remember this is a workaround Early result
  50. 50. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Fix the root cause https://flic.kr/p/J44Nm
  51. 51. Iterate Test strategy Flake policy
  52. 52. Fix or RemoveIssueDetect Ignore Flake policy
  53. 53. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Deleting tests, seriously? https://flic.kr/p/8BYXV4
  54. 54. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace #4: Releases https://flic.kr/p/91MFkh
  55. 55. Release cycle
  56. 56. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Congestion https://flic.kr/p/bRgBZP
  57. 57. Dogfooding becomes hard Big bangEnds at master Cancellations Impact
  58. 58. For once a free lunch Fork and Join solved most of our problems already Early result
  59. 59. Iterate Reduce build times Fix dogfooding
  60. 60. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Dogfooding https://flic.kr/p/dxpLTm
  61. 61. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Feedback https://flic.kr/p/dxaAdk
  62. 62. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Soak time https://flic.kr/p/fmfG2q
  63. 63. Decouple code and features Merge often One process Feature flags
  64. 64. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace How did the journey end? https://flic.kr/p/8WQutt
  65. 65. ReleaseOwnershipComplexity Testing 4 problems
  66. 66. Clear goal Early results Momentum Changing beliefs
  67. 67. • Big cool statistic • 2,56 9 • Add-Ons in Marketplace Sustainable System https://flic.kr/p/awVLLs
  68. 68. http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef015392a77686970b-pi
  69. 69. Thank you! VINCENT KOK • DEVELOPMENT MANAGER • ATLASSIAN • @VINCENTKOK

×