urn:lsid:ibm.com:blogs:entries-59010112-9143-447a-ba21-e36e0f009a6bAgility@Scale: Strategies for Scaling Agile Software Development - Tags - technical-complexity Agility@Scale: Strategies for Scaling Agile Software Development03012015-01-19T21:45:56-05:00IBM Connections - Blogsurn:lsid:ibm.com:blogs:entry-fbd11c32-610f-46b4-b492-c633688a6dfaAgile and Technical ComplexityScottAmbler120000HESDactivefalseComment EntriesLikestrue2010-07-06T14:19:17-04:002010-11-28T07:42:30-05:00One of the <a href="https://www.ibm.com/developerworks/mydeveloperworks/blogs/ambler/entry/agile_scaling_factors?lang=en_us">scaling factors</a> of the <a href="ftp://ftp.software.ibm.com/common/ssi/sa/wh/n/raw14204usen/RAW14204USEN.PDF">Agile Scaling Model (ASM)</a> is technical complexity.<span> </span>The fundamental observation is that the underlying technology of solutions varies and as a result your approach to developing a solution will also need to vary.<span> </span>It’s fairly straightforward to achieve high-levels of quality if you’re building a new system from scratch on a known technology platform, but not so easy when there are several technologies, the technologies are not well known, or legacy assets are involved. <span> </span> <p sizcache="2" sizset="67">There are several potential technical complexities which a <a href="https://www.ibm.com/developerworks/mydeveloperworks/blogs/ambler/entry/disciplined_agile_delivery?lang=en_us">Disciplined Agile Delivery (DAD)</a> team may face:<br /></p><ol sizcache="2" sizset="68"><li><span style="font-weight: bold">New technology platforms</span>.<span> </span>Your team may choose to work with a technology platform which is either new to the team or sometimes even new to the industry.<span> </span>In the past few years new technology platforms include the Android operating system, Apple’s iPad platform, and various cloud computing (http://www.ibm.com/ibm/cloud/) platforms.<span> </span>Working with these platforms may require you to adopt new development tools and techniques, not to mention the need to train and mentor your staff in their usage.<span> </span>Furthermore, your team may need to allocate time for architectural spikes to explore how to use the new technology and to prove the overall architecture with working code early in the project lifecycle (this is a DAD milestone).<span> </span> </li><li sizcache="2" sizset="68"><span style="font-weight: bold">Multiple technology platforms</span>.<span> </span>IT solutions often run on multiple platforms.<span> </span>For example, a system’s user interface (UI) could run in a browser, access business logic implemented using J2EE on Websphere which in turn invokes web services implemented in COBOL running on a Z-series mainframe, and stores data in an Oracle database, a DB2 database, and in several XML files. <span> </span>Implementing new business functionality, or updating existing functionality, could require changes made on several of these platforms in parallel.<span> </span>The implication is that you’ll need to adopt tools and strategies which enable your team to develop, test, and deploy functionality on all of these platforms.<span> </span>Testing and debugging in particular will become more difficult as the number of technology platforms increases, potentially requiring you to adopt the practice of <a href="http://www.ambysoft.com/essays/agileTesting.html#IndependentParallelTesting">parallel independent testing</a>.<span> </span>The <a href="http://www.ambysoft.com/surveys/stateOfITUnion200911.html">Agility at Scale survey</a> found that 34% of respondents indicated that their agile teams were working with multiple technology platforms. <br /></li><li sizcache="2" sizset="70"><span style="font-weight: bold">Legacy data</span>. <span> </span>IT solutions should leverage existing, legacy data wherever possible to reduce the number of data sources and thereby increase data quality within your organization.<span> </span>Also, using existing data sources can potentially speed up development, assuming your team has a good relationship with the owners of the legacy data sources (sadly, this often isn’t the case as the <a href="http://www.ambysoft.com/surveys/dataManagementAugust2006.html">Data Management Survey</a> found).<span> </span>Working with legacy data sources may require improved <a href="http://www.agiledata.org/essays/databaseTesting.html">database regression testing</a>, practices, <a href="http://www.agiledata.org/essays/databaseRefactoring.html">database refactoring</a> practices, and agile approaches to <a href="http://www.agiledata.org/essays/enterpriseAdministration.html">data administration</a>. The <a href="http://www.ambysoft.com/surveys/stateOfITUnion200911.html">Agility at Scale survey</a> found that 42% of respondents indicated that their agile teams were working with legacy data sources (personally, I’m shocked that this figure is so low, and fear that many agile teams are contributing to data quality problems within their organization as a result). <br /></li><li sizcache="2" sizset="75"><span style="font-weight: bold">Legacy systems</span>.<span> </span>There are several potential challenges with legacy systems.<span> </span>First, the code quality may not be the best either because it was never really that good to begin with or because it’s degraded over the years as multiple people worked with it.<span> </span>You know you’ve got a quality problem if you’re either afraid to update the code or if when you do so you have to spend a lot of time debugging and then fixing problems revealed when doing the update.<span> </span>If the legacy system is a true asset for your organization you will want to pay off some of this technical debt by refactoring the code to make it of higher quality.<span> </span>Second, you may not have a full regression test suite in place, making it difficult to find problems when you do update the code let alone when you refactor it.<span> </span>Third, your development tools for your legacy code may be a bit behind the times.<span> </span>For example, I often run across mainframe COBOL developers still working with basic code editors instead of modern IDEs such as <a href="http://www-01.ibm.com/software/awdtools/rdz/">Rational Developer for System Z</a>.<span> </span><span> </span>Some of the strategies to deal effectively with legacy systems are to adopt a modern development toolset if you haven’t already done so (better yet, if possible adopt a common IDE across platforms and thereby reduce overall licensing and support costs) and to adopt agile practices such as <a href="http://www.ibm.com/developerworks/rational/library/08/0429_gutz1/">static code analysis</a>, <a href="http://www-01.ibm.com/software/awdtools/purifyplus/win/">dynamic software analysis</a>, and <a href="http://www-01.ibm.com/software/awdtools/buildforge/%20">continuous integration (CI)</a>.<span> </span>The <a href="http://www.ambysoft.com/surveys/projectInitiation2009.html">Agile Project Initiation Survey</a> found that 57% of respondents were integrating their new code with legacy systems and 51% were evolving legacy systems. </li><li sizcache="2" sizset="80"><span style="font-weight: bold">Commercial off-the-shelf (COTS) solutions</span>.<span> </span>COTS solutions, also called package applications, can add in a few complexities for agile teams.<span> </span>The packages rarely come with regression test suites, they often have rules about what you can modify and what you shouldn’t (rules that are ignored at your peril), and they’re often architected with the assumption that they’re the center of the architectural universe (which is a valid assumption if they’re the only major system within your organization).<span> </span>As I describe in my article <a href="http://www.drdobbs.com/architecture-and-design/212701603">Agile Package Implementations</a> it is possible to take an agile approach to COTS implementations, although it may require a significant paradigm shift for the people involved. The <a href="http://www.ambysoft.com/surveys/stateOfITUnion200911.html">Agility at Scale survey</a> found that 15% of respondents indicated that their agile teams were working with COTS solutions.<span> </span> </li><li sizcache="2" sizset="82"><span style="font-weight: bold">System/embedded solutions</span>. <span> </span>For the sake of simplicity, if your team is developing a solution with both hardware and software aspects to it then you’re a systems project.<span> </span>Embedded systems are a specialization where the system has a few dedicated functions often with real-time constraints.<span> </span>Bottom line is that systems/embedded projects are typically more challenging than software-only projects – it gets really interesting when laws of physics starts to kick in, such as when you’re building satellites or space probes.<span> </span>I highly suggest Bruce Douglass’s book <a href="http://www.amazon.com/exec/obidos/ASIN/%200321545494/ambysoftinc">Real-Time Agility</a> if you are interested in taking an agile approach to systems/embedded solution delivery. <br /></li></ol>The technical complexity faced by a project team is contextual – Working with four technology platforms is straightforward for someone used to dealing with seven, but difficult for someone used to dealing with just one. <br /><br /><span style="font-weight: bold">Recommended Reading:</span><span sizcache="2" sizset="83" style="font-weight: bold; text-decoration: underline"><br /><span sizcache="2" sizset="83" style="text-decoration: underline"><ul sizcache="2" sizset="83"><li sizcache="2" sizset="83"><a href="http://www.agilemodeling.com/essays/agileLegacyIntegrationModeling.htm">Agile Legacy System Analysis and Integration Modeling</a> </li><li sizcache="2" sizset="84"><a href="ftp://public.dhe.ibm.com/common/ssi/sa/wh/n/raw14211usen/RAW14211USEN.PDF">Scaling Agile: An Executive Guide</a></li></ul><p class="MsoNormal" /></span></span>One of the scaling factors of the Agile Scaling Model (ASM) is technical complexity. The fundamental observation is that the underlying technology of solutions varies and as a result your approach to developing a solution will also need to vary. It’s...008260urn:lsid:ibm.com:blogs:entries-59010112-9143-447a-ba21-e36e0f009a6bAgility@Scale: Strategies for Scaling Agile Software Development2015-01-19T21:45:56-05:00