A place to cache linked articles (think custom and personal wayback machine)
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. title: Software Sprawl, The Golden Path, and Scaling Teams With Agency
  2. url: https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/
  3. hash_url: 514ebd8c64cdbe4a0720318ffe229b3e
  4. <p><img data-attachment-id="5018" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gplanis/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gplanis.jpg?w=375&amp;h=281" data-orig-size="480,360" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gplanis" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gplanis.jpg?w=375&amp;h=281?w=300" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gplanis.jpg?w=375&amp;h=281?w=480" class=" wp-image-5018 aligncenter" src="https://charitydotwtf.files.wordpress.com/2018/12/gplanis.jpg?w=375&amp;h=281" alt="gplanis" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gplanis.jpg?w=375&amp;h=281 375w, https://charitydotwtf.files.wordpress.com/2018/12/gplanis.jpg?w=150&amp;h=113 150w, https://charitydotwtf.files.wordpress.com/2018/12/gplanis.jpg?w=300&amp;h=225 300w, https://charitydotwtf.files.wordpress.com/2018/12/gplanis.jpg 480w" sizes="(max-width: 375px) 100vw, 375px"/></p>
  5. <p>Stop me if you’ve heard this one before.</p>
  6. <p>The company is growing like crazy, your engineering team keeps rising to the challenge, and you are ferociously proud of them.  But some cracks are beginning to show, and frankly you’re a little worried.  You have always advocated for engineers to have broad latitude in technical decisions, including choosing languages and tools.  This autonomy and culture of ownership is part of how you have successfully hired and retained top talent despite the siren song of the Faceboogles.</p>
  7. <p>But recently you saw something terrifying that you cannot unsee: your company is using <em>all</em> the languages, <em>all</em> the environments, <em>all</em> the databases, <em>all</em> the build tools.  Shit!!!  Your ops team is in full revolt and you can’t really blame them.  It’s grown into an unsupportable nightmare and something MUST be done, but you don’t know what or how — let alone how to solve it while retaining the autonomy and personal agency that you all value so highly.</p>
  8. <p><img data-attachment-id="5033" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gpredwedd/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gpredwedd.jpg?w=206&amp;h=216" data-orig-size="286,300" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gpredwedd" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gpredwedd.jpg?w=206&amp;h=216?w=286" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gpredwedd.jpg?w=206&amp;h=216?w=286" class=" wp-image-5033 alignright" src="https://charitydotwtf.files.wordpress.com/2018/12/gpredwedd.jpg?w=206&amp;h=216" alt="gpredwedd" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gpredwedd.jpg?w=206&amp;h=216 206w, https://charitydotwtf.files.wordpress.com/2018/12/gpredwedd.jpg?w=143&amp;h=150 143w, https://charitydotwtf.files.wordpress.com/2018/12/gpredwedd.jpg 286w" sizes="(max-width: 206px) 100vw, 206px"/></p>
  9. <p>I hear a version of this everywhere I’ve gone for the past year or two.  It’s crazy how often.  I’ve been meaning to write my answer up for ages, and here it (finally) is.</p>
  10. <p><img data-attachment-id="4969" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gpathcartoon/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gpathcartoon.jpg?w=100&amp;h=86" data-orig-size="800,685" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gpathcartoon" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gpathcartoon.jpg?w=100&amp;h=86?w=300" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gpathcartoon.jpg?w=100&amp;h=86?w=660" class=" wp-image-4969 aligncenter" src="https://charitydotwtf.files.wordpress.com/2018/12/gpathcartoon.jpg?w=100&amp;h=86" alt="gpathcartoon" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gpathcartoon.jpg?w=100&amp;h=86 100w, https://charitydotwtf.files.wordpress.com/2018/12/gpathcartoon.jpg?w=200&amp;h=172 200w, https://charitydotwtf.files.wordpress.com/2018/12/gpathcartoon.jpg?w=150&amp;h=128 150w" sizes="(max-width: 100px) 100vw, 100px"/></p>
  11. <p>First of all: you aren’t alone.  <strong>This is extremely common among high-performing teams, </strong>so congratulations.  Really!</p>
  12. <p>There actually seems to be a direct link between teams that give engineers lots of leeway to own their technical decisions and that team’s ability to hire and retain top-tier talent, particularly senior talent.   Everything is a tradeoff, obviously, but accepting somewhat more chaos in exchange for a stronger sense of individual ownership is usually the right one, and leads to higher-performing teams in the long run.</p>
  13. <p>Second, there is actually already a well-trod path out of this hole to a better place, and it doesn’t involve sacrificing developer agency.  It’s fairly simple!  Just five short steps, which I will describe to you now.</p>
  14. <p><img data-attachment-id="5011" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gpjava/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gpjava.jpg?w=335&amp;h=235" data-orig-size="625,439" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gpjava" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gpjava.jpg?w=335&amp;h=235?w=300" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gpjava.jpg?w=335&amp;h=235?w=625" class=" wp-image-5011 aligncenter" src="https://charitydotwtf.files.wordpress.com/2018/12/gpjava.jpg?w=335&amp;h=235" alt="gpjava" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gpjava.jpg?w=335&amp;h=235 335w, https://charitydotwtf.files.wordpress.com/2018/12/gpjava.jpg?w=150&amp;h=105 150w, https://charitydotwtf.files.wordpress.com/2018/12/gpjava.jpg?w=300&amp;h=211 300w, https://charitydotwtf.files.wordpress.com/2018/12/gpjava.jpg 625w" sizes="(max-width: 335px) 100vw, 335px"/></p>
  15. <h2>How to build a golden path and reverse software sprawl</h2>
  16. <ol>
  17. <li>Assemble a small council of trusted senior engineers.</li>
  18. <li>Task them with creating a recommended list of default components for developers to use when building out new services.  This will be your Golden Path, the path of convergence (and the path of least resistance).</li>
  19. <li>Tell all your engineers that going forward, <strong>the Golden Path will be fully supported by the org.</strong>  Upgrades, patches, security fixes; backups, monitoring, build pipeline; deploy tooling, artifact versioning, development environment, even tier 1 on call support.  Pave the path with gold.  Nobody HAS to use these components … but if they don’t, they’re on their own.  They will have to support it themselves.</li>
  20. <li>Work with team leads to draw up an umbrella plan for adopting the Golden Path for their current projects as well as older production services, as much as is reasonable or possible or desirable.  Come up with a timeline for the whole eng org to deprecate as many other tools as possible.  <strong>Allocate real engineering time</strong> to the effort.  Hell, make a party out of it!</li>
  21. <li>After the cutoff date (and once things have stabilized), establish a regular process for reviewing and incorporating feedback about the blessed Path and considering any proposed changes, additions or removals.</li>
  22. </ol>
  23. <p>There you go.  That’s it.  Easy, right??</p>
  24. <p>(It’s <em>not</em> easy.  I never said it was easy, I said it was <em>simple.  👼🏼</em>)</p>
  25. <p>Your engineers are currently used to picking the best tool for the job by optimizing locally.  What data store has a data model that is easiest for them to fit to their needs?  Which language is fastest for I/O throughput?  What are they already proficient in?  What you need to do is start building your muscles for optimizing <em>globally.</em>  Not in isolation of other considerations, but in conjunction with them.  It will always be a balancing act between optimizing locally for the problem at hand and optimizing globally for operability and general sanity.</p>
  26. <p>(Oh, incidentally, requiring an engineer to write up a proposal any time they want to use a non-standard component, and then defend their case while the council grills them in person — this will be nothing but good for them, guaran-fucking-teed.)</p>
  27. <p>Let’s go into a bit more detail on each of the five points.  But <strong>quick disclaimer</strong>: this is not a prescription.  I don’t know your system, your team, your cultural land mines or technical interdependencies or anything else about your situation.  I am just telling stories here.</p>
  28. <p><img data-attachment-id="5030" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gpjon/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gpjon.jpeg?w=660" data-orig-size="187,270" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gpjon" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gpjon.jpeg?w=660?w=187" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gpjon.jpeg?w=660?w=187" class=" size-full wp-image-5030 aligncenter" src="https://charitydotwtf.files.wordpress.com/2018/12/gpjon.jpeg?w=660" alt="gpjon" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gpjon.jpeg 187w, https://charitydotwtf.files.wordpress.com/2018/12/gpjon.jpeg?w=104 104w" sizes="(max-width: 187px) 100vw, 187px"/></p>
  29. <h3>1. Assemble your council</h3>
  30. <p>Three is a good number for a council.  More than that gets unwieldy, and may have trouble reaching consensus.  Less than three and you run into SPOFs.  You <em>never</em> want to have a single person making unilateral decisions because a) the decision-making process will be weaker, b) it sets that person up for too much interpersonal friction, and c) it denies your other engineers the opportunity to practice making these kinds of decisions.</p>
  31. <ul>
  32. <li>Your council members need technical breadth more than depth, and should be widely respected by engineers.</li>
  33. <li><img data-attachment-id="4959" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gprain7/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gprain7.png?w=94&amp;h=114" data-orig-size="204,247" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gprain7" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gprain7.png?w=94&amp;h=114?w=204" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gprain7.png?w=94&amp;h=114?w=204" class=" wp-image-4959 alignright" src="https://charitydotwtf.files.wordpress.com/2018/12/gprain7.png?w=94&amp;h=114" alt="gprain7" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gprain7.png?w=94&amp;h=114 94w, https://charitydotwtf.files.wordpress.com/2018/12/gprain7.png?w=188&amp;h=228 188w, https://charitydotwtf.files.wordpress.com/2018/12/gprain7.png?w=124&amp;h=150 124w" sizes="(max-width: 94px) 100vw, 94px"/>At least one member should have a long history with the company so they know lots of stupid little details about what’s been tried before and why it failed.</li>
  34. <li>At least one member should be deeply versed in practical data and operability concerns.</li>
  35. <li>They should <em>all</em> have enough patience and political skill to drive consensus for their decisions.  Absolutely no bombthrowers.</li>
  36. </ul>
  37. <p>If you’re super lucky, you just tap the three senior technologists who immediately come to mind … your mind and everyone else’s.  If you don’t have this kind of automatic consensus, you may want to let teams or orgs nominate their own representative so they feel they have some say.</p>
  38. <p><img data-attachment-id="5031" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gpcss/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gpcss.jpg?w=311&amp;h=207" data-orig-size="700,466" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gpcss" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gpcss.jpg?w=311&amp;h=207?w=300" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gpcss.jpg?w=311&amp;h=207?w=660" class=" wp-image-5031 aligncenter" src="https://charitydotwtf.files.wordpress.com/2018/12/gpcss.jpg?w=311&amp;h=207" alt="gpcss" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gpcss.jpg?w=311&amp;h=207 311w, https://charitydotwtf.files.wordpress.com/2018/12/gpcss.jpg?w=622&amp;h=414 622w, https://charitydotwtf.files.wordpress.com/2018/12/gpcss.jpg?w=150&amp;h=100 150w, https://charitydotwtf.files.wordpress.com/2018/12/gpcss.jpg?w=300&amp;h=200 300w" sizes="(max-width: 311px) 100vw, 311px"/></p>
  39. <h3>2.  Task the council with defining a Golden Path</h3>
  40. <p><img data-attachment-id="4952" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gpsun2/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gpsun2.jpg?w=80&amp;h=88" data-orig-size="650,718" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gpsun2" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gpsun2.jpg?w=80&amp;h=88?w=272" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gpsun2.jpg?w=80&amp;h=88?w=650" class=" wp-image-4952 alignleft" src="https://charitydotwtf.files.wordpress.com/2018/12/gpsun2.jpg?w=80&amp;h=88" alt="gpsun2" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gpsun2.jpg?w=80&amp;h=88 80w, https://charitydotwtf.files.wordpress.com/2018/12/gpsun2.jpg?w=160&amp;h=176 160w, https://charitydotwtf.files.wordpress.com/2018/12/gpsun2.jpg?w=136&amp;h=150 136w" sizes="(max-width: 80px) 100vw, 80px"/></p>
  41. <p>Your council cannot vanish for a week and then descend from the mountain lugging lists engraved on stone tablets.  The process of discovery and consensus is what validates the result.</p>
  42. <p>The process must include talking to and gathering feedback from your engineers, talking to experts outside the company, talking to teams at other companies who are farther along using that technology, coming up with detailed pro/con lists and reasons for their choices.  <em>Maybe</em> sometimes it includes prototyping something or investigating the technical depths … but yeah no mostly it’s just the talking.</p>
  43. <p>You need your council members to have enough political skill to handle these conversations deftly, building support and driving consensus through the process.  Everybody doesn’t have to love the outcome, but it shouldn’t be a *surprise* to anyone by the end.</p>
  44. <p><img data-attachment-id="4990" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gphappy/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gphappy.jpeg?w=660" data-orig-size="268,188" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gphappy" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gphappy.jpeg?w=660?w=268" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gphappy.jpeg?w=660?w=268" class=" size-full wp-image-4990 aligncenter" src="https://charitydotwtf.files.wordpress.com/2018/12/gphappy.jpeg?w=660" alt="gphappy" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gphappy.jpeg 268w, https://charitydotwtf.files.wordpress.com/2018/12/gphappy.jpeg?w=150 150w" sizes="(max-width: 268px) 100vw, 268px"/></p>
  45. <h3>3.  Know where you’re going</h3>
  46. <p>Your council should create a detailed written plan describing which technologies are going to be supported … and a stab at what “supported” means.  (Ask the experts in each component what the best practices are for backups, versioning, dependency management, etc.)</p>
  47. <p>You might start with something like this:</p>
  48. <blockquote>
  49. <pre>* Backend lang: Go 1.11           ## we will no longer be supporting
  50. backend scripting languages
  51. * Frontend lang: ReactJS v 16.5
  52. * Primary db: Aurora v 2.0        ## Yes, we know postgres is "better",
  53. but we have many mysql experts and 0 pg experts except the one guy
  54. who is going to complain about this.  You know who you are.
  55. * Deploy pipeline: github -&gt; jenkins + docker -&gt; S3 -&gt; custom k8s
  56. deploy tooling
  57. * Message broker: kafka v 2.10, confluent build
  58. * Mail: SES
  59. * .... etc</pre>
  60. </blockquote>
  61. <p>Circulate the draft regularly for feedback, especially with eng managers.  Some team reorganization will probably be necessary to bear the new weight of your support specifications, and managers will need some lead time to wrangle this.</p>
  62. <p>This is also a great time to reconceive of the way on call works at your company.  But I am not going to go into all that here.</p>
  63. <p><img data-attachment-id="5028" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gpbutt2/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gpbutt2.jpg?w=278&amp;h=278" data-orig-size="500,500" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gpbutt2" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gpbutt2.jpg?w=278&amp;h=278?w=300" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gpbutt2.jpg?w=278&amp;h=278?w=500" class=" wp-image-5028 aligncenter" src="https://charitydotwtf.files.wordpress.com/2018/12/gpbutt2.jpg?w=278&amp;h=278" alt="gpbutt2" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gpbutt2.jpg?w=278&amp;h=278 278w, https://charitydotwtf.files.wordpress.com/2018/12/gpbutt2.jpg?w=150&amp;h=150 150w, https://charitydotwtf.files.wordpress.com/2018/12/gpbutt2.jpg?w=300&amp;h=300 300w, https://charitydotwtf.files.wordpress.com/2018/12/gpbutt2.jpg 500w" sizes="(max-width: 278px) 100vw, 278px"/></p>
  64. <h3>4. Set a date, draft a plan: go!</h3>
  65. <p>Get approval from leadership to devote a certain amount of time to consolidating your stack and paying down a lump sum of tech debt.  It depends on your stage of decay, <img data-attachment-id="4964" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gprain/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gprain.png?w=126&amp;h=71" data-orig-size="480,270" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gprain" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gprain.png?w=126&amp;h=71?w=300" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gprain.png?w=126&amp;h=71?w=480" class=" wp-image-4964 alignleft" src="https://charitydotwtf.files.wordpress.com/2018/12/gprain.png?w=126&amp;h=71" alt="gprain" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gprain.png?w=126&amp;h=71 126w, https://charitydotwtf.files.wordpress.com/2018/12/gprain.png?w=252&amp;h=142 252w, https://charitydotwtf.files.wordpress.com/2018/12/gprain.png?w=150&amp;h=84 150w" sizes="(max-width: 126px) 100vw, 126px"/>but a reasonable amount of time might be “<strong>25% of engineering time for three months</strong>“.  Whatever you agree to, make sure it’s enough to make the world demonstrably better for the humans who run it; you don’t want to leave them with a tire fire or you’ll blow your credibility.</p>
  66. <p>The council and team leads should come up with a rough outer estimate for how long it would take to rewrite everything and move the whole stack on to the Golden Stack.  (It’s probably impossible and/or would take years, but that’s okay.)  Next, look for the quick wins or swollen, inflamed pain points.</p>
  67. <ul>
  68. <li>If you are running two pieces of functionally similar software, like postgres and mysql, can you eliminate one?</li>
  69. <li>If you are managing something yourself that AWS could manage for you (e.g. postfix instead of SES, or kafka instead of kinesis), can you migrate that?</li>
  70. <li>If you are managing anything yourself that is not core to your business value, in fact, you should try to not manage it.</li>
  71. <li>If you are running any services by hand on an AWS instance somewhere, could you try using a service?</li>
  72. <li>If you are running your own monitoring software, etc … can you not?</li>
  73. <li>If you have multiple versions of a piece of software, can you upgrade or consolidate on one version?</li>
  74. </ul>
  75. <p><img data-attachment-id="5021" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gpdied/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gpdied.png?w=249&amp;h=278" data-orig-size="386,431" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gpdied" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gpdied.png?w=249&amp;h=278?w=269" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gpdied.png?w=249&amp;h=278?w=386" class=" wp-image-5021 aligncenter" src="https://charitydotwtf.files.wordpress.com/2018/12/gpdied.png?w=249&amp;h=278" alt="gpdied" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gpdied.png?w=249&amp;h=278 249w, https://charitydotwtf.files.wordpress.com/2018/12/gpdied.png?w=134&amp;h=150 134w, https://charitydotwtf.files.wordpress.com/2018/12/gpdied.png?w=269&amp;h=300 269w, https://charitydotwtf.files.wordpress.com/2018/12/gpdied.png 386w" sizes="(max-width: 249px) 100vw, 249px"/></p>
  76. <p>The hardest parts are always going to be the ones around migrating data or rewriting components.  Not everything is worth doing or can afford to be done in the time span of your project time, and that’s okay.</p>
  77. <p>Next, brainstorm up some carrots.  Can you write templates so that anybody who writes a service using your approved library, magically gets monitoring checks without having to configure anything?  Can you write a wrapper so they get a bunch of end-to-end tests for free?  Anything you can do to delight people or save them time and effort by using your preferred components is worth considering.  <img data-attachment-id="4939" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gps8/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gps8.jpg?w=109&amp;h=101" data-orig-size="300,279" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gps8" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gps8.jpg?w=109&amp;h=101?w=300" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gps8.jpg?w=109&amp;h=101?w=300" class=" wp-image-4939 alignright" src="https://charitydotwtf.files.wordpress.com/2018/12/gps8.jpg?w=109&amp;h=101" alt="gps8" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gps8.jpg?w=109&amp;h=101 109w, https://charitydotwtf.files.wordpress.com/2018/12/gps8.jpg?w=218&amp;h=202 218w, https://charitydotwtf.files.wordpress.com/2018/12/gps8.jpg?w=150&amp;h=140 150w" sizes="(max-width: 109px) 100vw, 109px"/></p>
  78. <p>(By the way, if you don’t have any engineers devoted to internal tooling, you’re probably way overdue at this point.)</p>
  79. <p>Pay down as much debt as you can, but be pragmatic: it’s better to get rid of five small things than one large thing, from a support perspective.  Your main goal is to shrink the number of types of software your team has to support, particularly databases.</p>
  80. <p>Do look for ways to make it fun, like … running a competition to see who can move the most tools to AWS in a week, or throwing a hack week party, or giving dorky prizes like trophies that entitle you to put your manager on call instead of you for a day, etc.</p>
  81. <p><img data-attachment-id="5024" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gpcersei/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gpcersei.jpeg?w=660" data-orig-size="259,194" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gpcersei" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gpcersei.jpeg?w=660?w=259" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gpcersei.jpeg?w=660?w=259" class=" size-full wp-image-5024 aligncenter" src="https://charitydotwtf.files.wordpress.com/2018/12/gpcersei.jpeg?w=660" alt="gpcersei" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gpcersei.jpeg 259w, https://charitydotwtf.files.wordpress.com/2018/12/gpcersei.jpeg?w=150 150w" sizes="(max-width: 259px) 100vw, 259px"/></p>
  82. <h3>5. Make the process sustainable</h3>
  83. <p>After your target date has come and gone, you probably want to hold a post mortem retrospective and do lots of listening.  (Well — first might I recommend a bubble bath and a bottle of champagne?  But <em>then</em> a post mortem.)</p>
  84. <p>Nothing is ever fixed forever.  The company’s needs are going to expand and contract, <img data-attachment-id="4917" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gpsrs/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gpsrs.jpg?w=101&amp;h=71" data-orig-size="450,318" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gpsrs" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gpsrs.jpg?w=101&amp;h=71?w=300" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gpsrs.jpg?w=101&amp;h=71?w=450" class=" wp-image-4917 alignleft" src="https://charitydotwtf.files.wordpress.com/2018/12/gpsrs.jpg?w=101&amp;h=71" alt="gpsrs" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gpsrs.jpg?w=101&amp;h=71 101w, https://charitydotwtf.files.wordpress.com/2018/12/gpsrs.jpg?w=202&amp;h=142 202w, https://charitydotwtf.files.wordpress.com/2018/12/gpsrs.jpg?w=150&amp;h=106 150w" sizes="(max-width: 101px) 100vw, 101px"/>and people will come and go, because change is the only constant.  So you need to bake some flex into your system.  How are you going to handle the need for changes to the Golden Path?  Monthly discussions?  An email list?  Quarterly meetings with a formal agenda?  I’ve seen people do all of these and more, it doesn’t really matter afaict.</p>
  85. <p>Nobody likes a cabal, though, so the original council should gradually rotate out.  I recommend replacing one person at a time, one per quarter, and rotating in another senior engineer in their place.  This provides continuity while giving others a chance to learn these technical and political skills.</p>
  86. <p>In the end, engineers are still free to use any tool or component at any time, just like before, only now they are solely responsible for it, which puts pressure on them not to do it unless REALLY necessary.  So if someone wants to propose adding a new tool to the default golden path, they can always add it themselves and gain some experience in it before bringing it to the council to discuss a formal place for it.</p>
  87. <p><img data-attachment-id="5025" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gplinux/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gplinux.jpeg?w=660" data-orig-size="276,182" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gplinux" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gplinux.jpeg?w=660?w=276" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gplinux.jpeg?w=660?w=276" class=" size-full wp-image-5025 aligncenter" src="https://charitydotwtf.files.wordpress.com/2018/12/gplinux.jpeg?w=660" alt="gplinux" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gplinux.jpeg 276w, https://charitydotwtf.files.wordpress.com/2018/12/gplinux.jpeg?w=150 150w" sizes="(max-width: 276px) 100vw, 276px"/></p>
  88. <h2>That’s all folks</h2>
  89. <p>See, wasn’t that simple?</p>
  90. <p><em>(It’s never simple.)</em></p>
  91. <p>I dearly wish more people would write up their experiences with this sort of thing in detail.  I think engineering teams are too reluctant to show their warts and struggles to the world — or maybe it’s their executives who are afraid?  Dunno.</p>
  92. <p>Regardless, I think it’s actually a highly effective recruiting tool when teams aren’t afraid to share their struggles.  The companies that brag about how awesome they are are the ones who come off looking weak and fragile.  Whereas you can always trust the ones <img data-attachment-id="4915" data-permalink="https://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/gpwv/" data-orig-file="https://charitydotwtf.files.wordpress.com/2018/12/gpwv.jpg?w=131&amp;h=115" data-orig-size="170,149" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gpwv" data-image-description="" data-medium-file="https://charitydotwtf.files.wordpress.com/2018/12/gpwv.jpg?w=131&amp;h=115?w=170" data-large-file="https://charitydotwtf.files.wordpress.com/2018/12/gpwv.jpg?w=131&amp;h=115?w=170" class=" wp-image-4915 alignright" src="https://charitydotwtf.files.wordpress.com/2018/12/gpwv.jpg?w=131&amp;h=115" alt="gpwv" srcset="https://charitydotwtf.files.wordpress.com/2018/12/gpwv.jpg?w=131&amp;h=115 131w, https://charitydotwtf.files.wordpress.com/2018/12/gpwv.jpg?w=150&amp;h=131 150w, https://charitydotwtf.files.wordpress.com/2018/12/gpwv.jpg 170w" sizes="(max-width: 131px) 100vw, 131px"/>who are willing to laugh about all the ways they screwed up.  Right?</p>
  93. <p>In conclusion, don’t feel like an asshole for insisting on some process here.  <strong>There <em>should </em>be friction around adding new components to your stack</strong>.  (Add in haste, repent at leisure, as they say.)  Anybody who argues with you probably needs to be exposed to way, way more of the support load for that software.  That’s my professional opinion.</p>
  94. <p>Anyway.  You win or you die.  Good luck with your sprawl.</p>