title: Service discovery pattern
body: <p>I m actually studying the service discovery pattern but I dont really understand the way how it works.</p>
  
  <p>I have read an article using a library with nodejs called etcd ( <a href="http://lukebond.ghost.io/service-discovery-with-etcd-and-node-js/" rel="nofollow">http://lukebond.ghost.io/service-discovery-with-etcd-and-node-js/</a>) and it seems easy to use like only setting a pattern url lile /my/service.</p>
  
  <p>Then I have some questions :</p>
  
  <ul>
  <li>how can I access this service from another nodejs app ?</li>
  <li>how can I do if I want to access /my/service/something, knowing that it s not defined in the service registry and that we admit I dont know at all the API ?</li>
  </ul>
  
  <p>After reading this article, I tried to understand how zookeeper works. With this one, and using a standard library( <a href="https://github.com/yfinkelstein/node-zookeeper" rel="nofollow">https://github.com/yfinkelstein/node-zookeeper</a> ), I m facing a problem :</p>
  
  <ul>
  <li>what is the value I have to set ? In fact with zookeeper, it seems that we have to set a pattern url and a value. What is this value ?</li>
  <li>what are the service children with zookeeper ? What is the aim of this concept ?</li>
  </ul>
  
  <p>Thanks for advance everybody</p>
  
  <p>Thanks for advance</p>