Distributed infrastructure design considerations

In this section, we will cover some miscellaneous infrastructure design considerations that were not covered in earlier chapters.

Service discovery

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. ...

Get Mastering CoreOS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.