The Tao of Microservices by Richard Rodger

The Tao of Microservices by Richard Rodger

Author:Richard Rodger [Richard Rodger]
Language: eng
Format: epub, pdf
Tags: Core Programming
Publisher: Manning Publications
Published: 2017-12-18T00:00:00+00:00


5.6. Continuous delivery

The ability to safely deploy a component to production at any time is powerful because it lets you control risk. Continuous delivery (CD) in a microservice context means the ability to create a specific version of a microservice and to run one or more instances of that version in production, on demand. The essential elements of a CD pipeline are as follows:

A version-controlled local development environment for each service, supported by unit testing, and the ability to test the service against an appropriate local subset of the other services, using mocking if necessary.

A staging environment to both validate the microservice and build, reproducibly, an artifact for deployment. Validation is automated, but scope is allowed for manual verification if necessary.

A management system, used by the development team to execute combinations of primitives against staging and production, implementing the desired deployment patterns in an automated manner.

A production environment that’s constructed from deployment artifacts to the fullest extent possible, with an audit history of the primitive operations applied. The environment is self-correcting and able to take remedial action, such as restarting crashed services. The environment also provides intelligent load balancing, allowing traffic volumes to vary between services.

A monitoring and diagnostics system that verifies the health of the production system after the application of each primitive operation and allows the development team to introspect and trace message behavior. Alerts are generated from this part of the system.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.