Development Basics

What Is Post-Deployment Maintenance in Software?

What Is Post-Deployment Maintenance in Software?

Shipping software doesn’t end the work on it. Between go-live and retirement, someone has to fix the defects that show up in production and keep the software working as its environment changes. Performance improvements land on the same pile. All of that is post-deployment maintenance.

ISO/IEC/IEEE 14764 sorts the work into corrective, adaptive, perfective and preventive types. Developers and DevOps or SRE staff do most of it, with the support tiers out in front, and the results get measured against SLA targets for uptime and response time.

Most of the effort isn’t bug fixing, which surprises people. The 1978 Lientz, Swanson and Tompkins survey, as reported in Empirical Software Engineering, put perfective (improvement) work at 60.3% of maintenance effort and corrective work at 17.4%.

What Is Post-Deployment Maintenance?

YouTube player

The clock starts at the first production release and stops when the system is retired. Anything modified, fixed or supported in between counts as maintenance.

The IEEE Computer Society frames it as the part of the life cycle that keeps software useful and puts off replacement for as long as it can. Nobody ships a finished product, honestly. Production use shows what testing missed.

How it differs from deployment, operations and development

Deployment gets a release onto its target environment. Operations keeps the system running day to day, which is a different job from changing it. New development means building features that were never part of the release, while maintenance covers whatever changes the live release after it ships.

Once app deployment finishes, every change to the release counts as maintenance, whether it fixes a crash or adds a setting.

The production environment is the real test. Real traffic and real integrations show up there, and staging never reproduced them.

One boundary to remember. ISO/IEC/IEEE 14764:2022 states that it does not cover the operation of software or operational functions such as backup, recovery and system administration. That line comes back later, when backups show up as a maintenance task.

“Post-deployment” is also a wider label than maintenance alone, since it groups monitoring, maintenance, support, optimization and documentation. Only the maintenance part gets covered here.

Where the sources disagree on the starting point

Pigoski defines maintenance as the totality of activities needed to support a system, so planning for post-delivery operations before release already counts. Schneidewind goes further. He argues that treating maintenance as strictly post-delivery is one reason the discipline is hard.

Both positions have a point. The narrow reading wins here because it matches how teams budget and staff the work, which is after go-live and with a separate backlog.

What Are the Types of Post-Deployment Maintenance?

YouTube player

Corrective, adaptive, perfective and preventive are the categories IEEE and ISO standards use, and what separates them is the trigger behind each change.

TypeTriggerExampleMode
CorrectiveDefect found in productionFixing a checkout crashReactive
AdaptiveChange in the environmentSupporting a new OS or database versionReactive
PerfectiveUser request or efficiency goalAdding a requested feature, speeding up queriesProactive
PreventiveLatent fault or fragile codeRewriting a brittle module before it failsProactive

Corrective work deals with faults found after release. Perfective work goes the other way and improves the product beyond its original specification, which covers enhancements, documentation updates and recoding for efficiency. Adaptive work is whatever the operating environment forces on you, like database or operating system upgrades and even compiler version changes.

Preventive maintenance repairs latent faults before they cause failures. It overlaps a good deal with code refactoring.

How effort splits across the types

Schach and colleagues summarized the 1978 Lientz, Swanson and Tompkins survey from Communications of the ACM this way. Perfective work took 60.3% of maintenance effort, adaptive 18.2%, corrective 17.4% and other work 4.1%.

Put plainly, improvement takes most of the effort and bug fixing takes less. A team that budgets only for defects is missing the biggest line.

Schach and colleagues later measured the repeated maintenance of three products, a commercial real-time product, the Linux kernel and GCC. The distributions they found differed from the survey at a very high level of statistical significance. One explanation they offered was inaccuracy in the maintenance managers’ survey answers.

In practice, the survey split works as a historical reference. Your own ticket history is the better planning input.

Where the categories blur

One change often fits two categories. ISO 14764 groups adaptive and perfective changes as “enhancements” and corrective and preventive work as “corrections”.

Emergency maintenance sits at the fast end of corrective work. These are patches that restore service immediately, not fixes scheduled into a future release.

Core Activities in Post-Deployment Maintenance

Most of it is unglamorous, and a lot of it happens before anyone complains.

Bug fixing and hotfixes

Issues arrive through support tickets and error reports. A defect tracking setup in Jira or GitHub Issues gives each report an owner and a severity.

A severe, user-facing fault gets a hotfix. Everything else waits for the next scheduled patch release.

Speed costs something, though. Fixes often inject new faults, and those need fixing too. A regression testing pass before every hotfix is the cheapest guard against that.

Security patching and dependency updates

Log4Shell is a useful example of how a patch cycle can go. The flaw (CVE-2021-44228) got the maximum CVSS score of 10, and Apache announced the first patch, Log4j 2.15.0, on 10 December 2021.

That patch left another vulnerability exposed (CVE-2021-45046). It took four patches to fix Log4Shell and its related flaws, and versions from 2.17.1 onward are free of them.

Patching to the first fixed version is not the finish line. Re-check the advisory after every patch.

CVE identifiers and NVD severity scores help rank what to patch first. Dependabot version updates are switched on by committing a dependabot.yml file to the repository, and schedule.interval accepts daily, weekly, monthly, quarterly, semiannually, yearly or cron.

One catch, per GitHub’s changelog. Dependabot pauses scheduled version-update jobs after 15 consecutive failures until someone triggers a check manually or updates a manifest. Security updates keep running during that pause.

Monitoring, backups and performance tuning

You cannot maintain what you cannot see.

Sentry handles error tracking, Datadog and New Relic cover application performance monitoring, Prometheus and Grafana give you metrics and dashboards, and PagerDuty does on-call alerting. Together they turn production behavior into tickets before users write them. Tuning work found this way falls under perfective maintenance.

Backups are where the definitions collide. ISO/IEC/IEEE 14764 leaves backup and recovery outside its scope, yet practitioner guides treat them as maintenance work. One Oracle Application Server book calls backing up configuration and application data an essential maintenance task.

Who owns backups is really a contract question, so write it into the SLA instead of assuming.

Adapting to environment changes

Maintenance also adapts software to new interfaces and platforms, and to new regulations. A browser release or an OS update can break a working product without a single code change on your side, and so can a deprecated API version.

Schedule these updates from vendor deprecation notices, not from user complaints.

How Much Does Post-Deployment Maintenance Cost?

YouTube player

Published figures run from a little over half of lifetime software cost to more than 90%, and the gap exists because the studies measure different things.

These are the figures that get cited most.

  • The IEEE Computer Society says maintenance commonly occupies over half of total lifecycle costs.
  • Lientz and Swanson (1981) looked at 487 organizations and found more than 50% of staff time going to it.
  • Eastwood (1993) put it at 75% of the information system budget in Fortune 1000 companies.
  • Erlikh (2000) has the highest number, with more than 90% of total software cost going to maintenance and evolution.

The last three come from Jussi Koskinen’s 2015 compilation at the University of Eastern Finland.

Why the figures disagree

The studies divide by different things. Some use staff time, others the information system budget or total software cost.

Scope differs too. Erlikh counts maintenance and evolution together, which pulls in improvement work a narrower reading would call development.

Then there’s age. The studies above run from 1981 to 2000, and Offutt’s overview of the field notes that most of its understanding rests on studies decades out of date.

No single figure works as a planning number for one product. Split your own issue-tracker history by type and budget from that.

What drives the cost up or down

Software type, complexity, availability and fault-tolerance requirements all move the number. So does team stability, since costs drop when the same staff stay involved. Contractual responsibility matters when the original developers do not own maintenance.

How maintainable the code is sets how long each of those changes takes.

As for who pays, the supplier almost always bears the cost of corrective maintenance, while the customer mostly bears adaptive maintenance, depending on the contract.

Who Is Responsible for Maintenance After Launch?

Whoever the maintenance contract and the on-call rota name owns it. In practice that is usually a mix of developers, a maintenance team and DevOps or SRE staff.

Assigning responsibilities is one of the core management issues in maintenance, next to staffing and cost estimation. Left implicit, it defaults to whoever notices the problem first.

Who does what

The original developers hold the design context, but they are often reassigned after launch. A maintenance team takes over triage, fixes and patch releases. DevOps or SRE staff cover monitoring, incident response and release mechanics.

Support tiers sit in front of all of them. Level 1 answers users first (level 1 technicians typically give front-line support right after a rollout), and levels 2 and 3 escalate to engineers.

SRE teams mitigate incidents, repair production problems and automate operational tasks. Under DevOps, that run-side work sits closer to the developers who wrote the code.

Google caps SRE operational work at 50% of an engineer’s time and sends the overflow to the product development team, according to its SRE book.

A cap like that is an ownership rule. When the load passes it, the work moves.

What the SLA needs to pin down

The SWEBOK Guide’s maintenance chapter covers service-level agreements alongside the transition from development and the economics of outsourced maintenance.

Google’s SRE book defines an SLA as an explicit or implicit contract with users, one that carries consequences for meeting or missing its objectives. The SLO underneath it is just the target value for a service level, measured by an indicator.

Whatever format it takes, the SLA should at least cover the following.

  • Response time per severity level
  • Resolution time per severity level
  • The uptime commitment, and how it is measured
  • Exclusions, such as planned maintenance windows and third-party outages
  • Who owns backup and recovery

How ITIL sorts changes

Change types decide how fast an approval can move. In ITIL 4, the practice is called change enablement and it sorts changes into standard, normal and emergency types.

An emergency change is implemented as soon as possible, for example to resolve a major incident or apply a security patch. In practice, that is the hotfix path.

Where ownership breaks

Ownership breaks at hand-offs, not inside teams.

An alert with no on-call route and a backup nobody has restored have the same cause, a task that belongs to everyone. Untracked dependencies end up the same way.

How to Run Post-Deployment Maintenance Step by Step

The sequence repeats, so the last step feeds straight back into the first.

  1. Hand over the context. Runbooks, architecture notes, access lists and known issues go to the maintenance owner. It goes wrong when the original team leaves before anyone has run a restore.
  2. Set up monitoring and alerting. Error tracking, uptime checks and an on-call route come first. Alerts nobody acts on end up muted.
  3. Triage incoming issues. Tag each by severity and by type (corrective, adaptive, perfective or preventive). Improvement requests filed as bugs inflate the defect queue.
  4. Prioritize. Rank by user impact and security exposure, and let the ITIL change type set the approval path. Watch for the emergency path quietly becoming the default path.
  5. Fix and test. Reproduce the fault, write the fix and run the regression suite. A hotfix that skips the suite can reopen an old defect.
  6. Release with a rollback path. Use a maintenance window and a staged rollout. A rollback nobody has rehearsed is the usual way this step fails.
  7. Review. Hold a blameless postmortem and update the runbook. Teams tend to skip this one once the incident is over.

Steps 5 and 6 carry the most risk. The Google SRE book reports that roughly 70% of outages are due to changes in a live system.

Postmortems should be blameless and focus on process and technology, not people.

Rollback in practice

A rollback only counts if someone has rehearsed it.

In Kubernetes, kubectl rollout undo deployment/abc reverts a Deployment to its previous revision. The –to-revision flag targets a specific revision instead.

There is a limit, though. A rollback restores the previous application image, not data changes a migration already made.

The handover step teams skip

Maintainers who did not write the code depend on technical documentation to find the deploy script, the alert owners and the restore procedure.

Test the handover by having someone outside the original team perform a restore from the runbook alone.

Which Metrics Show Whether Maintenance Is Working?

MTTR, MTBF, uptime percentage, change failure rate and defect escape rate cover most of what a maintenance team needs to watch.

MetricMeasuresRead it as
MTTRTime to recover from a failureFalling means faster restoration
MTBFAverage time between failuresRising means steadier releases
Uptime percentageShare of time the service is availableCompare against the SLA target
Change failure rateDeployments needing an immediate fixRising points to weak testing
Defect escape rateDefects found in production, not before releaseRising points to test gaps

MTBF and uptime are measures of software reliability. Google’s SRE book expresses availability as a number of “nines”, such as 99.9% or 99.99%.

What DORA tracks now

dora.dev’s guide lists five software delivery metrics, and its change fail rate counts deployments that need immediate intervention, usually a rollback or a hotfix.

The definitions have shifted over time. In 2023 DORA renamed mean time to recover as failed deployment recovery time, and in 2024 it added a fifth metric, deployment rework rate.

Check the tool’s definition before comparing. The narrower DORA definition no longer counts a data center outage against your pipeline.

Sources conflict here too. Datadog’s and Splunk’s guides print different change failure thresholds for the same performance tiers, so attach the report year to any benchmark you quote.

Error budgets as a stop signal

An error budget is 1 minus the service’s SLO. When bugs in new releases use it up, shipping new features slows or stops.

For a maintenance team, the budget settles whether time goes to feature work or to fixes. Per the SRE workbook, an SLO of 100% leaves time only to react.

Where metrics mislead

Reading one metric alone misleads. High deployment frequency says little if change failure rate is also high.

Pipeline data is a poor stand-in for user impact, because CD pipeline data alone cannot show which deployment failures reached users. And a green dashboard can sit on top of a growing patch backlog without anyone noticing.

When Maintenance Fails or Stops Paying Off

Maintenance fails when the cost of each change keeps rising. It stops paying off when upkeep costs more than the system delivers.

How maintenance fails

Technical debt shows when each change takes longer than the one before. Advisories aging past the SLA window point to a patch backlog. Knowledge loss looks like one person holding the deploy script, and with unmonitored dependencies you find out when an upstream end-of-life date arrives unseen.

Technical debt carries a measurable cost. Tornhill and Borg (2022) cite estimates of up to 42% of developer time wasted on it, and report that issue resolutions in low-quality code had 9 times longer maximum cycle times.

Stripe’s 2018 Developer Coefficient survey puts developers’ own estimate at 13.5 hours of a 41.1-hour week. That is about a third, so the two sources differ by roughly 9 points.

The Stripe number is a self-reported hours estimate, while the 42% sits at the top of a research range. Plan from your own issue-tracker history.

What Lehman’s laws support, and where they stop

The law of continuing change says an E-type system must be continually adapted or it becomes progressively less satisfactory. Declining quality, the other law worth knowing here, holds that quality appears to decline unless the system is rigorously adapted to environment changes.

Empirical tests are mixed. One study of open-source programs confirmed several laws, while the rest could be confirmed or rejected depending on how each law was defined. Another review found a cluster of projects with unchanged structural complexity, so the law of increasing complexity does not always apply.

Use the laws to justify a standing maintenance budget. Do not use them to forecast a specific growth curve.

When to retire or rebuild

Upstream support ending is the clearest trigger. When security patches and updates are no longer available, a rebuild becomes a security question, not a cost question.

Cost is the other. A system’s maintenance costs can exceed its business value, including the cost of modernizing it, and a rewrite only makes sense once its estimate is credible. Dell’s method multiplies lines of code, an efficiency factor and the developer day rate, then divides by assumed lines per day, and it concedes that lines of code is an imperfect measure.

The clearest wrong-fit case is heavy perfective work on a platform that no longer receives security patches. It buys new features on a base that cannot be protected.

Post-Deployment Maintenance FAQ

How often should software patches be applied?

It depends on severity. Critical security fixes go out as emergency changes, implemented as soon as possible.

Routine dependency updates fit a schedule, and Dependabot accepts daily, weekly, monthly, quarterly, semiannually, yearly or cron intervals.

Does cloud or SaaS software still need maintenance?

Yes, but the split changes. The vendor patches the platform.

Integrations, configuration, customizations and data handling stay with you, and they need testing after every vendor release.

What is a maintenance window?

Planned changes that can cause downtime or degraded service get a scheduled period of their own, called a maintenance window.

Check whether the SLA excludes it from uptime calculations. If it does not, planned downtime counts against the uptime target like any other downtime.

Can post-deployment maintenance be outsourced?

Yes. The SWEBOK Guide covers the economics of outsourced maintenance alongside service-level agreements.

The contract needs to name who owns triage, patching, backups and escalation, plus response times per severity.

Is post-launch support the same as maintenance?

No, though they overlap. Support answers users, and level 1 technicians give front-line help right after a rollout.

Maintenance changes the software itself. Good support hands maintenance a reproducible report, not a complaint.

Settling Post-Deployment Maintenance Before Launch

Maintenance only runs properly from release day if someone owns it and an SLA and a monitoring route are already in place. Without those, the first production incident becomes the planning meeting.

  • Name the owner and the escalation path
  • Write the SLA, including severity levels, response times and exclusions
  • Wire up alerting, then rehearse one restore and one rollback

Start with the owner, since an alert with no owner gets no response. The SLA is second because what the alerts must measure comes from it.

The cost is schedule. These days come out of the feature backlog, and no incident ever proves the spend was worth it.

Improvement requests then follow a defined change request management path instead of landing in the bug queue.

If the platform vendor’s support window closes inside the first year, add a retirement date to the SLA before anything else.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.