Adding Other Microservice Features
Our long journey of exploring FastAPI’s extensibility in building microservice applications will end with this chapter, which covers standard recommendations on project setup, maintenance, and deployment using some microservice-related tools based on design patterns. This chapter will discuss the OpenTracing mechanism and its use in a distributed FastAPI architecture setup using tools such as Jaeger and StarletteTracingMiddleWare
. The service registry and client-side discovery design patterns are included likewise in the detailed discussions on how to manage access to the API endpoints of the microservices. A microservice component that checks for the health of the API endpoints will also be part of the discussion. Moreover, the chapter will not end without recommendations on the FastAPI application’s deployment, which might lead to other design strategies and network setups.
The main goal of this chapter is to complete the design...