Testing in Production, the safe way

Why test in production when one can test in staging?

The Art of Testing in Production

From my post “Testing Microservices, the sane way”

The Three Phases of “Production”

Phase 1 — Deploy

Phase 2 — Release

Phase 3 — Post-Release

Testing in Production during the Deploy Phase

Integration Testing

Integration test for a deployed version of service B run against a released version of service C where the writes never make it to the database

Shadowing (also known as Dark Traffic Testing or Mirroring)

Tap Compare

Load Testing

From the whitepaper on Kraken

Config Tests

Testing in Production — Release

Canarying

Monitoring

Exception Tracking

Traffic Shaping

Testing in Production — Post-Release

Feature Flagging or Dark Launch

A/B Testing

Logs/Events, Metrics and Tracing

Profiling

Teeing

Chaos Engineering

Conclusion

--

--

--

@copyconstruct on Twitter. views expressed on this blog are solely mine, not those of present or past employers.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cindy Sridharan

Cindy Sridharan

@copyconstruct on Twitter. views expressed on this blog are solely mine, not those of present or past employers.

More from Medium

Resiliency Patterns with Ninja — CNCF Roadmap

Domain Driven Design— Solving the problems for solutions

Security is Testing

The QE Unit Officially Release: On Defining Quality Engineering