title: Microservices. What is difference between Service registry and service discovery
body: <p>I am new to Microservices. I came across terms <code>Service registry</code> and <code>service discovery</code>.</p>
  
  <p>What I understood is when a new service (or service instance) comes up, then it will register itself with the "service registry". It is also mentioned that the client can contact a service registry and get the list of IP-ports where that service is available.  </p>
  
  <p>In that case, what is the role of "service discovery". </p>
  
  <p><strong>Edit</strong></p>
  
  <p>Accepted answer. Also, more theoretical details were found <a href="https://www.nginx.com/blog/service-discovery-in-a-microservices-architecture/" rel="noreferrer">https://www.nginx.com/blog/service-discovery-in-a-microservices-architecture/</a></p>