Shadow Your API Traffic to Detect Breaking Changes

Shadow Your API Traffic to Detect Breaking Changes

This article will explain how to use diffy to test your new version directly in production.

When deploying a new version of your API, one of the worst things that can happen is breaking your contract without noticing it.

The best-case scenario is you break your front end, you see it quickly, it has a minor impact, and you have an incident for a few minutes. But as you can imagine, it can be way worse if you are talking about business transactions, personal health metrics, etc. APIs are everywhere these days.

TL;DR

This article will explain how to use diffy to test your new version directly in production.

What Is a Breaking Change in an API?

Most of the time, a breaking change in an API consists of an extra parameter required in the request or renaming a field in the response. Any format change can be considered a breaking change in your API.

How Can You Be Sure You Have Not Introduced Breaking Changes?

The first thing to do is to help your team understand that any changes in your API can break things. So you can introduce versioning to your API, be super cautious when validating pull requests, and do a test on your QA.

But is this enough? The next step is to test your API with real traffic in production!

devops programming software-development software-engineering api

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Software Developer vs Software Engineer — Differences: Bogus or Real?

In this article, see if there are any differences between software developers and software engineers. What you’re about to read mostly revolves around my personal thoughts, deductions, and offbeat imagination. If you have different sentiments, add them in the comment section, and let’s dispute! So, today’s topic…

Offshore Software Development - Best Practices

To make the most out of the benefits of offshore software development, you should understand the crucial factors that affect offshore development.

Hire Dedicated DevOps Developers

Hire our Dedicated DevOps Developers who have in-depth skills and expertise to develop an interactive and secure web application. Get custom DevOps solutions for your project.

5 Core Criteria for Selecting Software Development Company - TopDevelopers.co

Check out these five criteria for the selection of your software vendor, and you will never regret having the wrong quality product made for you.

Hire DevOps Developer

Looking to hire top DevOps developers at affordable prices? **[Hire DevOps Developer](https://hourlydeveloper.io/hire-dedicated-devops-developer/ "Hire DevOps Developer")** from **[HourlyDeveloper.io](https://hourlydeveloper.io/...