Distributed infrastructure design considerations
In this section, we will cover some miscellaneous infrastructure design considerations that were not covered in earlier chapters.
Microservices are dynamic and Service discovery refers to how microservices can find each other dynamically. Service discovery has three components:
- It discovers services automatically as they come up and accesses a service by the service name using DNS
- It maintains a shared database of services along with their access details that can be accessed from multiple hosts
- It accesses services using a load balancer and handles service failures automatically
Service discovery is automatically taken care of when using a Container orchestration system such as Kubernetes. ...