DevOps.com

Where the world meets DevOps

  • Latest
    • Articles
    • Features
    • Most Read
    • News
    • News Releases
  • Topics
    • AI
    • Continuous Delivery
    • Continuous Testing
    • Cloud
    • Culture
    • DevSecOps
    • Enterprise DevOps
    • Leadership Suite
    • DevOps Practice
    • ROELBOB
    • DevOps Toolbox
    • IT as Code
  • DevOps Chats
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Virtual Summits
    • Conferences
  • Sponsored Communities
    • AWS Community Hub
    • CloudBees
    • IT as Code
  • Related Sites
    • MediaOps
    • Container Journal
    • Security Boulevard
    • SweetCode.io
    • Digital Anarchist
    • DevOps TV on YouTube
    • DevOps Chat on SoundCloud
    • DevOps Connect
    • DevOps Dozen
  • Media Kit
  • Follow Us
    • Twitter
    • Google News
    • LinkedIn
    • Facebook
    • DevOps TV on YouTube
    • Email
  • AI
  • Cloud
  • Continuous Delivery
  • Continuous Testing
  • DevSecOps
  • Leadership Suite
  • Practices
  • ROELBOB
  • Toolbox
  • IT as Code
  • More Topics
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps

Home » Blogs » DevOps Practice » Continuous Reliability: How QA and SREs Can Improve Their CI/CD Workflow

QA and SREs Improve Their CI/CD Workflow

Continuous Reliability: How QA and SREs Can Improve Their CI/CD Workflow

By Tal Weiss on June 7, 2019 2 Comments

A key challenge in maintaining and accelerating the speed of software delivery is balancing the rate of change with the reliability of your software. With the move toward an increasingly automated workflow, as well as teams of dozens to hundreds of engineers introducing changes at a high frequency, the ability to identify the issues that will have a severe impact early on becomes critical.

Related Posts
  • Continuous Reliability: How QA and SREs Can Improve Their CI/CD Workflow
  • Cloud and DevOps: CI/CD and Market Analysis
  • DevOps’ Role in Developing a Robust and Secure IoT Framework
    Related Categories
  • Application Performance Management/Monitoring
  • Blogs
  • DevOps Practice
    Related Topics
  • anomaly detection
  • app security
  • application performance
  • CI/CD
  • continuous reliability
  • software delivery
Show more
Show less

This challenge poses many questions: With so many errors, will spending my precious time to resolve a particular issue be really worth it? How do I detect severe issues in code or infrastructure that could be impactful ahead of time? Once a release has been moved forward, how can I know how well it’s doing–should it be fully deployed, hotfixed or even rolled back?

That’s why we need our CI/CD workflow to work both ways, helping us upgrade and improve our application as well as allowing us to learn and adapt according to how it performs with our users. Enter continuous reliability.

A Feedback Loop Between Everyone

Code quality gates and contextual feedback loops are the CI/CD building blocks that define the emerging practice of continuous reliability. The current and most common feedback loop is between dev and QA teams, and it’s usually the backbone of every good development cycle. However, feedback loops are relevant to the whole development cycle, and they don’t end with QA/dev deploying and testing elements in staging environments.

As we all know, production tends to display unexpected and surprise-oriented behavior, some might even say that issues and bugs appear out of thin air. That’s why QA and SRE teams need accurate answers as to the actual quality of releases. They need to identify when critical anomalies move from staging and production, and ideally have the ability to gate them before they harm the application, workflow or customers.

Defining the Anomalies That Matter

Anomaly detection is critical to continuous reliability. In most applications, error and performance anomalies can be mapped into three core types:

  1. New defects: the introduction of new errors into a system, usually a result of code changes.
  2. Increasing Errors: an increase in the relative volume (i.e. as compared to throughput) of certain errors, usually as a result of a code or infrastructure change.
  3. Slowdowns: a decrease in the response time of critical parts of the application due to inefficient code or improper provisioning or configuration of infrastructure.

The introduction of any of these can lead to CPU, GC and IO increases. As such, it is not only imperative that QA and SRE teams gate them from moving into production, but also to prioritize and assign severities that help tackle the most important issues.

However, detecting anomalies in large-scale systems can be nearly impossible due to a high noise-to-signal ratio, and we’re often left to rely on our users and customers to alert us when something goes wrong. That’s why there’s a need for an objective measure to quantify the quality of a release—one that lies in being able to converge machine learning and critical code-level data to automatically gate bad releases from moving up the chain.

Continuous Reliability Through Quality Gates

Once we have an understanding as to what should count as an anomaly within our application, the next step is setting a quality gate to help us identify, understand and hopefully stop bad code from being promoted to production.

Taking the three core type of anomalies—new issues, regressions and slowdowns—we can evaluate four core quality gates that our code should pass before being promoted:

  1. Error Volume: The normalized error rate of an application, based on calls into the code, should never increase between releases.
  2. Unique Error Count: The number of unique error counts, especially in key applications, should not increase between releases.
  3. New Errors: New errors of a critical type or occurring at a high rate should block a release.
  4. Increasing Errors and Slowdowns: Severe regressions and slowdowns should block a release.

These four gates can help you define a benchmark that is powerful and broadly applicable to complex environments, but also isn’t complex to the point that it remains an academic exercise. They will help you understand whether your code is ready to be deployed to your pre-production or production environment, and help reduce or even eliminate errors, issues, slowdowns and anomalies within your application.

— Tal Weiss

Filed Under: Application Performance Management/Monitoring, Blogs, DevOps Practice Tagged With: anomaly detection, app security, application performance, CI/CD, continuous reliability, software delivery

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)

Like this:

Like Loading...
Sponsored Content
Featured eBook
The Automated Enterprise

The Automated Enterprise

“The Automated Enterprise” e-book shows the important role IT automation plays in business today. Optimize resources and speed development with Red Hat® management solutions, powered by Red Hat Ansible® Automation. IT automation helps your business better serve your customers, so you can be successful as you: Optimize resources by automating ... Read More
« DevOps Chat: Enterprise DevOps Adoption, with Micro Focus’ Mark Levy
Cisco announces its intent to Acquire Sentryo, the Pioneer of Cybersecurity Solutions For The Industrial IoT »

TechStrong TV – Live

Watch latest episodes and shows

Upcoming Webinars

Leveraging Value Streams for Planning in SAFe and Beyond
Tuesday, December 1, 2020 - 11:00 am EST
Hotels, Hookups and Video Conferencing: A Top 10 Countdown to 2020's Worst Data Breaches
Tuesday, December 1, 2020 - 1:00 pm EST
DevSecOps: Best Practices for Enterprises
Wednesday, December 2, 2020 - 11:00 am EST

Top Stories of the Week

  • View DevOps.com Privacy Policy

Upcoming Webinars

Dec 01

Leveraging Value Streams for Planning in SAFe and Beyond

Tue, December 1, 11:00 am - 12:00 pm EST
Dec 01

Hotels, Hookups and Video Conferencing: A Top 10 Countdown to 2020’s Worst Data Breaches

Tue, December 1, 1:00 pm - 2:00 pm EST
Dec 02

DevSecOps: Best Practices for Enterprises

Wed, December 2, 11:00 am - 12:00 pm EST

More Webinars

Past Webinars

Latest from DevOps.com

Living on the Edge
November 25, 2020 | ROELBOB
DevOps Unbound: Outsourcing DevOps, Oxymoron or Truth?
November 24, 2020 | Alan Shimel
DevOps Unbound: DevOps, Cloud Native and Open Source
November 24, 2020 | Alan Shimel
Continuous Delivery Without Exception
November 24, 2020 | Heather Peyton
The Future of Application Development
November 24, 2020 | Bill Doerrfeld

Most Read on DevOps.com

FinConDX: The State of DevOps in FinTech
November 19, 2020 | Veronica Haggar
Gravitational Becomes Teleport to Streamline Access Manageme...
November 19, 2020 | Mike Vizard
OpsRamp Makes AIOps Platform Simpler to Configure
November 19, 2020 | Mike Vizard
Building Your Own AIOps Platform Is a Bad Idea
November 20, 2020 | Ciaran Byrne
IBM Acquires Instana to Advance Observability Strategy
November 20, 2020 | Mike Vizard

On-Demand Webinars

DevOps.com Webinar ReplaysDevOps.com Webinar Replays

Download Free eBook

The State of the CI/CD/ARA Market: Convergence
https://library.devops.com/the-state-of-the-ci/cd/ara-market
  • Home
  • About DevOps.com
  • Meet our Authors
  • Write for DevOps.com
  • Media Kit
  • Sponsor Info
  • Copyright
  • TOS
  • Privacy Policy

© 2020 ·MediaOps Inc.All rights reserved.