Testing in Production

As we mentioned in the beginning of this chapter, the process of deploying an application to production can be downright frightening. But there are a number of ways you can use to avoid the risk and fear of pushing a new version out to production. Even when your application is fully rolled out, you’re still not done testing, as there are a number of other tests you can do to ensure you have resilient and reliable services.

Canary Testing

Canary testing is a technique used to deploy a new version of your microservice to a small percentage of your user base to ensure there aren’t any bugs or bottlenecks in the new service. To do canary testing, you can use tools like NGINX’s split_clients module to split traffic based on ...

Get Microservices with Docker on Microsoft Azure™ (includes Content Update Program) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.