Chapter 11. Developing production-ready services

 

This chapter covers

  • Developing secure services
  • Applying the Externalized configuration pattern
  • Applying the observability patterns:
    • Health check API
    • Log aggregation
    • Distributed tracing
    • Exception tracking
    • Application metrics
    • Audit logging
  • Simplifying the development of services by applying the Microservice chassis pattern

Mary and her team felt that they had mastered service decomposition, interservice communication, transaction management, querying and business logic design, and testing. They were confident that they could develop services that met their functional requirements. But in order for a service to be ready to be deployed into production, they needed to ensure that it would also satisfy three critically important quality attributes: security, configurability, and observability.

The first quality attribute is application security. It’s essential to develop secure applications, unless you want your company to be in the headlines for a data breach. Fortunately, most aspects of security in a microservice architecture are not any different than in a monolithic application. The FTGO team knew that much of what they had learned over the years developing the monolith also applied to microservices. But the microservice architecture forces you to implement some aspects of application-level security differently. For example, you need to implement a mechanism to pass the identity of the user from one service to another.

11.1. Developing secure services

11.2. Designing configurable services

11.3. Designing observable services

11.4. Developing services using the Microservice chassis pattern

Summary

sitemap