smwikipedia
smwikipedia

Reputation: 64205

Shadow deployment for test in production

As well known, the most important parts of Test In Production (TiP) are:

I found the Shadow Deployment a promising approach.

With this approach, the V-next product is deployed in production side by side with the V-current. When customer request arrives, a clone of the request is routed to V-next for testing purpose. But the result is never returned to customer. Thus NO risk is exposed to customer. Once the V-next is ready, we can simply switch to it and tear down the V-current.

So it seems the critical parts are:

My questions are:

For the specific technology details, please check here: https://stackoverflow.com/questions/14599167/how-to-clone-iis-request-and-redirect-to-a-test-version-site

(Unfortunately, SO community deleted above post...)

Thanks!

Upvotes: 11

Views: 7939

Answers (2)

khanduri
khanduri

Reputation: 51

We did this at Twitter using Diffy. Not only do you want to capture V-next, you also want to compare it V-current. Further, you want to aggreagate and denoise this comparison over thousands of samples to gain confidence.

Upvotes: 5

Monads are like...
Monads are like...

Reputation: 2053

A different approach for testing in production is to test on a low percentage of users or to open a new feature only to your QA team on production (dark launches).

There are many tools that can help you test in production, even on real users. Configz.io is a great tool for that.

Upvotes: 1

Related Questions