Key Takeaways
Legacy applications are often stuck in the slow lane: aging and brittle, poorly understood and barely supported, and based on aging technologies, they are often the last applications to benefit from modern concepts like continuous delivery. Yet because of their potential instability, they are actually the applications that benefit most from concepts like a Minimum Viable Product (MVP) and its related Minimum Viable Architecture (MVA).
How can this be true? Most legacy applications are relatively monolithic and defy being released incrementally.
Once you realize that every release is an experiment in value in which the release either improves the value that customers experience or doesnt, you realize that every release, even one of a legacy application, can be thought of in terms of an MVP. Each release is really an MVP that relates to the added value that you are looking to deliver. Therefore each release also has an MVA. Concepts like MVP and MVA provide teams with a laser focus on what is absolutely necessary to test their hypotheses about what changes customers will really value.
Since the MVP concept is most often associated with new products, it might be better to think of each new release of an existing application as a minimum viable increment, or the minimum set of changes that the team thinks will result in an improvement in the value that customers experience. But since the term MVP already has currency, well continue using it.
As we noted in prior articles, an MVA is the minimum amount of architecture needed to ensure that the MVP satisfies its Quality Attribute Requirements or QARs. Since architecture, for us, is primarily about technical decisions, the MVA for a legacy application release represents the minimum set of application changes that the team needs to make to ensure that the release supports its QARs.
The release-readiness MVP criteria are typically focused on whether the release will let the team test its understanding of the desired outcomes for customers; MVPs are not "technical proofs of concept". Similarly, the release readiness of the MVA can be determined by evaluating whether the changes being made to the legacy application will ensure that the release will be able to meet the QARs for the application and, in so doing, sustainably meet customer needs.
Figure 1: MVP & MVA provide a "lens" to look at legacy systems in a new way
Process Challenges:One of the criteria for any release, and especially applications on which the organization depends, is that the application will have passed a set of tests (ideally automated) that validate that the release candidate satisfies its QARs. Running manual tests to evaluate QARs is too cumbersome and error-prone to be reliable. The lack of automated tests to determine whether a release meets its functional requirements and QARs is one of the factors that prevent organizations from delivering value in small increments.
Other factors sometimes prevent organizations from releasing in small increments, leading them to release changes in relatively large, complicated increments. These include:
With the exception of regulatory constraints, these can all be fixed but they take time and concerted effort.
Paying down debt, when you have a chance, sounds like a good thing, right?
Organizations are sometimes tempted to do extra technical work, to modernize, or reduce their technical debt because, as they may rationalize, "were going to be working on that part of the application anyway, so we should clean things up while we are there." While well-intentioned, this is almost always a bad decision that results in unnecessary cost and delay because once started, its very hard to decide to stop.
This is where the concept of the MVA pays dividends: it gives everyone a way to decide what changes must be made, and which changes should not be made, at least not yet. If a change is necessary to deliver the desired customer outcome for a release, then its part of the MVA, otherwise, its out.
Sometimes, a team may look at the changes needed to an application and decide, considering the state of the code, that a complete rewrite is in order. The MVA concept, applied to legacy applications, helps to temper that by questioning whether the changes are really necessary to produce the incremental improvements in customer outcomes that are desired.
The application may, indeed, be too far gone to be extended but, in our experience, "total rewrites" almost never succeed either (weve never seen, or even heard, of one of these projects actually delivering anything.) If youre really going back to the drawing board, dont rewrite the existing system; instead, start from the customers desired outcomes and look for different ways to deliver them.
The MVA has an effect on the MVP, especially for legacy applications. Both MVA and MVP include an important word: viability. If in evaluating the changes that the team needs to make to the application in order to deliver the MVP, they determine that it is too expensive to achieve the MVP in a sustainable way, the MVP needs to be reconsidered and potentially changed.
The Minimum Viable Architecture ("MVA") approach (see our article "A Minimum Viable Product Needs a Minimum Viable Architecture") provides you with a way to decide how much modernization is "good enough" in order to deliver an MVP. Creating an MVA as part of an MVP delivery effort helps you evaluate the technical viability and to provide a stable foundation for the product that can be adapted as the product evolves. Making the MVA architectural decisions transparent helps the organization better understand why certain choices have been made, which helps them make better decisions about how they can adapt the product to changing market conditions and evolving customer needs.
QARs drive your decisions: The most important MVA architectural decisions that you need to make may be to select the minimum amount of architecture components enabling the MVP to handle QARs that are associated with product/system characteristics such as:
For example, lets assume that you are planning to build a mobile app to support the launch of a product in a new market, using open-source or commercial frameworks that help you to quickly deliver an MVP while creating a new interface to legacy system data. In doing so, the legacy application will inevitably be subjected to workloads that it was not designed to handle. Will those increased workloads cause the legacy system to fail? Will the additional workloads threaten the ability of the legacy system to satisfy its QARs for existing users? Does the mobile application change the QARs for the legacy system?
Inevitably, new applications that access data from legacy systems will change the QARs of the legacy system by changing workload, throughput, responsiveness, and security-related requirements, among others. Legacy systems were not built to support the needs of the users of new applications, and those needs must be taken into account when deciding how much and where to modify legacy systems. In some cases, no amount of work will enable the legacy system to meet the new QARs, and in those cases, the legacy system will have to be replaced in order to enable the new applications.
Empiricism is a powerful tool for evaluating these questions, and each release of the new mobile application will, at the very least, create an opportunity to assess whether the architecture of the legacy system can support the new demands being made on it. It is likely that the development team will need to modify the legacy application to meet the new QARs. Considering the legacy application changes as part of an MVA for the mobile application will help the team decide how much change to undertake to accomplish the goals of the mobile applications MVP release.
QARs are a very useful tool for diagnosing areas for potential improvement in a legacy system. Focusing on QARs can help you limit the scope of the change to only what is minimally needed, right now in order to support the MVP. This helps to prevent sliding down the slippery slope to a "total rewrite", which is expensive, time-consuming, prone to failure, and often unnecessary for the MVP.
Limit the scope of the new functionality: Resist the temptation to go beyond the scope of the MVP and turn this effort into a much larger one by including "nice to have" features that are unnecessary for the MVP. Domain-driven design (DDD), which is an extremely powerful approach to software development, is a very efficient technique for identifying the scope of the new functionality that needs to be implemented in support of the MVP and limiting it to precisely what is needed.
Try to decouple and simplify system components. One of the challenges in working with legacy systems is that they lack modularity, many of them having been written at a time when modular code was not encouraged and most code reuse happened through "copy and paste." While it is tempting to refactor all of this redundant code, stay within the bounds of what you need to do to support the MVP. When you do need to refactor or replace code, make the new code modular and reusable. Microservices play well here as well as serverless functions in some cases. Replace code with calls to shared components or services in the applications you need to change, but also make notes for other applications that may have similar opportunities. That way, when other teams have to modify their applications to use similar services, they will have a bit of a head start.
Start shifting new work away from legacy systems. Unless it is dramatically simpler and more sustainable to implement new capabilities in the legacy system, develop new business capabilities associated with the MVP with modern technology, such as cloud-based services. If the new functionality has to be initiated from an older program, write a new component or service for the new work and just call it from the old code. Over time, the decoupling work mentioned above plus moving new code to modern technologies will shrink the amount of legacy code you need to worry about.
Using patterns such as the "strangler pattern", or the "branch by abstraction" pattern, as well as implementing a gateway to route requests to the new MVA components when applicable may be helpful for this migration. Keep in mind that all approaches and tools have limitations. For example, using the "strangler pattern" is appropriate for migrating well-defined functionality chunks from a single application, but may not be the right approach if you need to replace broken infrastructure that affects dozens of applications.
Start identifying "dead code" and opportunistically eliminate it. Use static and dynamic code analysis tools to find out what parts of the legacy system arent used anymore, within the scope of the MVA. Target dead code for elimination (but dont jump right in just yet - beware of scope creep). This can extend to reports - old systems produce a lot of them, and some (or many) may not be useful to anyone anymore; the business may have changed while the system did not. Identifying code that is no longer useful can help a team more easily see whether that code would impact the MVA. The less code you deploy, the more reliable the rest of the code, and the lighter the system use of critical system resources. Even if the team decides not to eliminate the code, they should identify the potential for removal of dead code to help other teams with their future decisions.
Organizational technology standards perpetuate legacy systems. Organizational technology standards are useful to prevent unsupportable configurations and combinations of infrastructural technologies from multiplying, but if retained too long they can keep an organization rooted in the past, unable to adapt to the future. Using the MVA concept can help an organization understand whether a new technology is truly needed to enable a team to deliver a particular MVP. With the proof that the MVA provides, an organization can decide whether the MVP is truly strategic and therefore a change in the technology standards is warranted.
Where should you store MVA data? One of the key MVA decisions is to choose a data store for the data associated with the MVP. Some of this data is likely to already exist in a legacy data store, and in most cases, additional data will need to be captured and stored. That data can either be incorporated into a legacy data store, or a new, more modern DBMS can be implemented to store the new data. The first approach simplifies data aggregation and reporting, at the cost of expanding the use of a technology that may be slated for retirement - for example, IMS/DB. It may be appropriate if a small percentage of the existing MVA legacy data needs to be added to support the MVP. The second approach constrains the use of legacy data stores, at the cost of complicating data aggregation, and should be considered if a large percentage of the existing MVA legacy data needs to be added. A variant of the second approach would be to migrate the existing MVA legacy data to the new DBMS. However, migrating data is much harder than migrating functionality, as that data may be used by multiple legacy applications out of the scope of the MVA. Attempting to do this could result in work beyond the MVA scope.
Legacy systems are a bit like an ancient city that is still a thriving metropolis: their mixture of old and new make it difficult to keep up on needed repairs, let alone substantial renovations to adapt them to rapidly changing needs. But finding a way to continuously adapt legacy systems is essential to evolving the enterprise to a changing world.
The concepts of MVP and MVA dont apply just to new applications; they provide a new and innovative way to look at scoping changes to legacy systems that prevents taking on too much change, too soon. In reality, every new application becomes a kind of "legacy application" after its first major release, and finding ways to limit the scope of change is important as applications evolve.
The MVA approach can help an organization evaluate and amend its technology standards by showing how a new technology is truly essential to supporting an MVP. It allows you to challenge technology standards with real data, rather than with just preferences and opinions.
The process of creating an MVA can help a team to evaluate which parts of a legacy system need to be modernized now, and which parts can wait. Organizations have spent huge sums on failed "total rewrite" modernizations that were, in hindsight, unnecessary. Identifying what parts must be modernized now, and what parts can wait is useful, for it gives an organization a better understanding of their technical debt, while also providing them with a much-needed filter to prevent needless work.
Legacy applications, because they are often mission-critical, need special focus on sustainability. In fact, fear of making the legacy application unstable prevents many organizations from making important and needed incremental improvements to them, making them even more brittle and risk-laden. Focusing on sustainability QARs, including growing the skills that teams need to evolve the applications, helps to make the applications more resilient over time.
Finally, its useful to keep in mind that todays "legacy" applications were, in many cases, shiny and brand new not very many years ago. These arent just applications written 40 years ago; they are also applications written just 10 years ago, or even more recently. As soon as an application is no longer being continuously updated, it starts to decay. Considering an MVA as a part of every new release helps to keep applications fresh.
Read the rest here:
Chipping Away at the Monolith: Applying MVPs and MVAs to Legacy Applications - InfoQ.com
- Architectural Design Consulting Market to Witness Massive Growth ... - Digital Journal - May 7th, 2023 [May 7th, 2023]
- Wightman opening new South Bend office - Moody on the Market - May 7th, 2023 [May 7th, 2023]
- Neal McCoy to appear at Sally Buffalo Park in Cadiz - Times Reporter - May 7th, 2023 [May 7th, 2023]
- Demolition continues in Strand Theater block - Clinton Herald - May 7th, 2023 [May 7th, 2023]
- For the Record | Business licenses issued in February and March ... - wenatcheeworld.com - May 7th, 2023 [May 7th, 2023]
- Siteline | The 10 Major New Developments Set to Reshape Santa ... - Siteline Santa Barbara - May 7th, 2023 [May 7th, 2023]
- Decorative Glass Market Upcoming Growth, Key Player Analysis and Forecast 2032 - EIN News - May 7th, 2023 [May 7th, 2023]
- Baltimore Business Leaders See An Economy of Both Ups And Downs - Smart Business Dealmakers - May 7th, 2023 [May 7th, 2023]
- Ligne Roset's new CEOs, Kravet appoints a new CMO and more - Business of Home - May 7th, 2023 [May 7th, 2023]
- 5 Conservative And Cheap Dividend Stocks To Invest In - May 2023 - Seeking Alpha - May 7th, 2023 [May 7th, 2023]
- /R E P E A T -- REDEVELOPMENT OF THE FORMER MONTREAL CHEST INSTITUTE SITE:/ - Yahoo Finance - May 7th, 2023 [May 7th, 2023]
- Oxo Alcohol Market Competitive Landscape, Emerging Trends and ... - GlobeNewswire - May 7th, 2023 [May 7th, 2023]
- MASONITE INTERNATIONAL CORP Management's Discussion and Analysis of Financial Condition and Results of Operations (form 10-Q) - Marketscreener.com - November 10th, 2022 [November 10th, 2022]
- Road Construction and Maintenance Market Size to Grow by USD 259.95 Billion From 2022 to 2027, Assessment on Parent Market, Five Forces Analysis,... - November 10th, 2022 [November 10th, 2022]
- OLO INC. Management's Discussion and Analysis of Financial Condition and Results of Operations. (form 10-Q) - Marketscreener.com - November 10th, 2022 [November 10th, 2022]
- Eastwing Architects Are Helping Residential and Commercial Clients to Create their Dream Spaces - GlobeNewswire - August 20th, 2022 [August 20th, 2022]
- Op-ed | Why a hybrid space architecture makes sense for economic and national security - SpaceNews - August 20th, 2022 [August 20th, 2022]
- Jamison to raze building for 188 apartments in Koreatown - The Real Deal - August 20th, 2022 [August 20th, 2022]
- The 10 Biggest Roofing Companies in the U.S. in 2022 - Levelset - August 20th, 2022 [August 20th, 2022]
- $300,000 Luxury Container Homes Are Coming To The South Side This Winter - Block Club Chicago - August 20th, 2022 [August 20th, 2022]
- Ed Day Admonishes Town Supervisors For Inaction On Finding Alternative Site For Animal Shelter Rebuild - Rockland County Business Journal - August 20th, 2022 [August 20th, 2022]
- Q&A: The Rockwell Project in downtown Oconomowoc | Oconomowoc News | gmtoday.com - Greater Milwaukee Today | GMToday.com - August 20th, 2022 [August 20th, 2022]
- Toll Brothers Apartment Living and PGIM Real Estate Announce Joint Venture to Develop 422-Unit Luxury Rental Community in San Diego, California -... - August 20th, 2022 [August 20th, 2022]
- City of Clinton building permits - Clinton Herald - November 4th, 2021 [November 4th, 2021]
- Gov. McMaster to spend remaining COVID education relief to fully fund two-year training - Greenville News - November 4th, 2021 [November 4th, 2021]
- Redevelopment in Wilton-Why, What and How By Lynne Vanderslice - Patch.com - November 4th, 2021 [November 4th, 2021]
- Small and diverse business owners prepped to bolster profits with conclusion of new USF-Skanska mentor-protg program - University of South Florida - November 4th, 2021 [November 4th, 2021]
- City Of Suisun City: Marina Village Apartments Notice Of Intent To Adopt A Mitigated Negative Declaration And Notice Of Public Hearing - Patch.com - November 4th, 2021 [November 4th, 2021]
- New hotels, homes seek Orange OK - The Record Newspapers - TheRecordLive.com - November 4th, 2021 [November 4th, 2021]
- Atilla Kara and Tzu-Ching Lai Join the Washington, DC Studio of National Interior Design and Consulting Firm MKDA | Milo Kleinberg Design Associates... - February 20th, 2021 [February 20th, 2021]
- Burns & Klemm - The SandPaper - February 20th, 2021 [February 20th, 2021]
- Partner Engineering and Science, Inc. Announces Rapid Expansion Throughout 2020, Increasing Headcount by 8% - Business Wire - February 20th, 2021 [February 20th, 2021]
- What Is the Future of Work Space in RI - Will Staff Ever Return to the Office - GoLocalProv - February 20th, 2021 [February 20th, 2021]
- Paul Williams, Architect to the Stars, Designed the Buildings That Shaped Southern California - Robb Report - February 2nd, 2021 [February 2nd, 2021]
- Commercial Lighting Market 2021-2026 Booming Growth Analysis and Future Prospects | Deco Lighting, Syska, Toshiba Corporation - KSU | The Sentinel... - January 20th, 2021 [January 20th, 2021]
- Panzura Expands Leadership With Six Key Hires to Intensify Growth Initiatives - PR Web - January 20th, 2021 [January 20th, 2021]
- KBS Completes an $11 Million Renovation to an Iconic 31-Story Office Tower in Downtown Denver, Colorado - Business Wire - January 20th, 2021 [January 20th, 2021]
- Resilient year for East Midlands architect with expansion plans for 2021 - East Midlands Business Link - December 18th, 2020 [December 18th, 2020]
- Courts Are Deciding Some Conservation Easement Cases In Favor Of Taxpayers - At Least In Part. Is It Time To Rethink Settlement? - Forbes - December 18th, 2020 [December 18th, 2020]
- What is Commercial Architecture? | PionArch, LLC - December 17th, 2020 [December 17th, 2020]
- Architect eyes larger office after 'strong' year | TheBusinessDesk.com - The Business Desk - December 17th, 2020 [December 17th, 2020]
- Why 2021 is the year you should become an Interior Design major - Study International News - December 17th, 2020 [December 17th, 2020]
- Architectural Acoustic Panels Market to Hit USD 9,752.8 Million by 2027; Rising Demand for Efficient Soundproofing Solutions from the Hotel Industry... - December 17th, 2020 [December 17th, 2020]
- Best At The Office Posts of 2020 - Design Milk - December 17th, 2020 [December 17th, 2020]
- Who are the Top Workplaces contenders? - Oklahoman.com - December 10th, 2020 [December 10th, 2020]
- Covington, Ludlow Development Projects Awarded Funds - The River City News - December 10th, 2020 [December 10th, 2020]
- $21 Million Sheriff's Building Would Be Financed With 15-Year CenterState Bank Loan at 1.83% Interest - FlaglerLive.com - December 10th, 2020 [December 10th, 2020]
- Duke Energy awards more than $200000 to Greater Cincinnati ventures that aim to spark redevelopment, help small businesses - Duke Energy News Center - December 10th, 2020 [December 10th, 2020]
- Movers and Shakers Week Ending 12.11.20 - milehighcre.com - December 10th, 2020 [December 10th, 2020]
- Jim Kolb Promoted To SVP Of STV|DPM - Citybizlist - December 10th, 2020 [December 10th, 2020]
- Memorandum on The National Space Policy - Imperial Valley News - December 10th, 2020 [December 10th, 2020]
- Show Your Work: D-Wave Opens the Door to Performance Comparisons Between Quantum Computing Architectures - HPCwire - December 10th, 2020 [December 10th, 2020]
- Tower Holdings Group expands to the United Arab Emirates - PR Web - December 10th, 2020 [December 10th, 2020]
- City gets update on capital projects - The Suffolk News-Herald - Suffolk News-Herald - November 29th, 2020 [November 29th, 2020]
- New Metropolitan Sea Airport Of Elefsina: "One Of The Most Ambitious And Visionary Projects Taking - GreekCityTimes.com - November 29th, 2020 [November 29th, 2020]
- This startup wants to become a digital ecosystem that connects spaces, freelancers and entrepreneurs - The Advocate - November 29th, 2020 [November 29th, 2020]
- Advice for "Emily in Paris" season 2: Drop the Americanized fantasy and get to know the real city - Salon - November 29th, 2020 [November 29th, 2020]
- Small towns like Badin have lessons for big cities like Charlotte - The Stanly News & Press - Stanly News & Press - November 29th, 2020 [November 29th, 2020]
- Will reopening of border crossing drive Saudi investment in Iraq? - Al-Monitor - November 29th, 2020 [November 29th, 2020]
- A 30,000-square-foot Ascension clinic is coming to Mequon, but the mayor is among those who isn't happy about it - Milwaukee Journal Sentinel - October 20th, 2020 [October 20th, 2020]
- Serverless Architecture Market Estimated Forecast Analysis 2020 to 2027 by top key Players like Realm, Galactic Fog IP Inc., Snyk Ltd., Dynatrace... - October 20th, 2020 [October 20th, 2020]
- Global Glass Cleaning Chemical Market 2020 Growth Analysis, Opportunities, Trends and Developments to 2025 Wall Street Call - Reported Times - October 20th, 2020 [October 20th, 2020]
- AdventHealth Breaks Ground on ER, Health Park to Serve Fast-Growing Clermont Area - Clermont Report - October 10th, 2020 [October 10th, 2020]
- Towards a More Sustainable Northwest: ALPEN HIGH PERFORMANCE PRODUCTS Developing Energy Efficient Construction Alternatives with an Alliance of 140... - October 10th, 2020 [October 10th, 2020]
- Durbin Park set to expand with Flagler Health+ 75-bed hospital, wellness campus - The Florida Times-Union - October 10th, 2020 [October 10th, 2020]
- Union Bank Plaza Designated First Skyscraper in Los Angeles as a Historic Landmark; KBS Completes Phase I of a $20 Million Repositioning and Historic... - October 10th, 2020 [October 10th, 2020]
- Hear Exclusive Insights on Skynet 6 at SMi Group's 22nd Annual Global MilSatCom - PR.com - October 10th, 2020 [October 10th, 2020]
- Community events and announcements: Oct. 9, 2020 - Verde Independent - October 10th, 2020 [October 10th, 2020]
- Planning staff: Housing development 'costs are unduly allocated to existing taxpayers' - Daily News Journal - October 10th, 2020 [October 10th, 2020]
- Global Architectural LED Lighting Industry Market Forecast Revised in a New Market Research Store Report as COVID-19 Projected to Hold a Massive... - October 10th, 2020 [October 10th, 2020]
- Waterborne Coatings Market projected to exceed $95 billion by 2024, Says Global Market Insights Inc. - GlobeNewswire - October 10th, 2020 [October 10th, 2020]
- A work of art: Fitzpatrick Architects of Tyler named Dallas-area firm of the year - Tyler Morning Telegraph - September 18th, 2020 [September 18th, 2020]
- Architectural firm FBW sued for $3m over breach of Kabira extension contract - Eagle Online - September 18th, 2020 [September 18th, 2020]
- Tecnoglass to Attend the D.A. Davidson 19th Annual Diversified Industrials & Services Virtual Conference - GlobeNewswire - September 18th, 2020 [September 18th, 2020]
- US Commercial Paving Slabs Market to Witness Exponential Growth by 2020-2027 | Leading Players Abbotsford Concrete Products Ltd., Westile Roofing... - September 18th, 2020 [September 18th, 2020]
- Smart Glass Market worth $6.8 billion by 2025- Exclusive Report by MarketsandMarkets - PRNewswire - September 18th, 2020 [September 18th, 2020]
- With new zoning tool, Palo Alto looks to relieve housing drought - Palo Alto Online - September 18th, 2020 [September 18th, 2020]
- BIDU INVESTOR ALERT: Bernstein Liebhard LLP Reminds Investors of the Deadline to File a Lead Plaintiff - Global Banking And Finance Review - September 18th, 2020 [September 18th, 2020]
- The ever-changing faces of Australian commercial design - Architecture and Design - June 16th, 2020 [June 16th, 2020]
- Architectural Lighting Market Technological Innovations and Future Opportunities 2025 - Cole of Duty - June 16th, 2020 [June 16th, 2020]