Appendix B. Evaluate Your Microservice
To help the reader evaluate the production-readiness of their microservice(s) and microservice ecosystem, Chapters 3–7 conclude with a short list of questions associated with the production-readiness standard discussed. The questions are organized by topic, and correspond to the sections within each chapter. All of the questions from each chapter have been collected here for easy reference.
Stability and Reliability
The Development Cycle
-
Does the microservice have a central repository where all code is stored?
-
Do developers work in a development environment that accurately reflects the state of production (e.g., that accurately reflects the real world)?
-
Are there appropriate lint, unit, integration, and end-to-end tests in place for the microservice?
-
Are there code review procedures and policies in place?
-
Is the test, packaging, build, and release process automated?
The Deployment Pipeline
-
Does the microservice ecosystem have a standardized deployment pipeline?
-
Is there a staging phase in the deployment pipeline that is either full or partial staging?
-
What access does the staging environment have to production services?
-
Is there a canary phase in the deployment pipeline?
-
Do deployments run in the canary phase for a period of time that is long enough to catch any failures?
-
Does the canary phase accurately host a random sample of production traffic?
-
Are the microservice’s ports the same for canary and production? ...
Get Production-Ready Microservices 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.