Four Steps From Legacy to DevOps
The first step is to identify legacy code by determining which systems have been running the business since inception.
Join the DZone community and get the full member experience.
Join For Free
in his april 12 piece in the register , michael coté addresses the challenge of transforming ‘legacy’ (pre-devops) software and services into workable infrastructure in the devops era. coté explains how addressing the ‘technical debts’ of dated code segments and systems enables businesses stand to develop “more resilient, more productive” software. here’s coté’s how-to:
the first step is to identify legacy code by determining which systems have been running the business since inception. experimentation with changes at this core level will naturally seem risky, since these models are least subject to testing or critical review. next, making use of portfolio analysis, quarantine lowest-value and virtualize dormant applications. what remains is an isolated set of base applications for devops adaptation . concentrate on these applications, and adapt strategically by means of forklifting, strangling, re-writing, or ignoring:
-
forklift
: adapt directly to a devops-driven,
continuous delivery
approach; looks the easiest but has the worst long-term payoff
for legacy applications that are “written to be… self-contained and [independent of] vendor-proprietary services or… network file shares.” -
strangle:
introduce a new layer of abstraction – an
api
or set thereof – that fronts the legacy services, eventually replacing capabilities in the legacy system with new code that’s more aligned with your new approach to software development
for new applications that must use legacy software and services -
rewrite
: revise dated code for use with
devops
approach; most time intensive and if done slapdash, risk-laden choice, if done properly achieves frequent change benefits of
continuous delivery
for interdependent legacy applications - ignore : right answer is often to carefully do nothing and instead to focus on your net-new software without letting your legacy software and processes drag you down.
Published at DZone with permission of Yaniv Yehuda, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments