Service discovery, consul and golang

polaris · · 952 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Not a very good writer but learning the trade. I have using consul from some time and like it a lot. doing golang from last one year.</p> <p><a href="http://varunksaini.com/consul-service-discovery-golang/">http://varunksaini.com/consul-service-discovery-golang/</a></p> <hr/>**评论:**<br/><br/>bkeroack: <pre><p>Nice blog post. For Consul 0.6.x, if you pass in QueryOptions{Near: &#34;_agent&#34;} when you query for a service, it will return the nodes in ascending order of estimated network latency (closest nodes first).</p></pre>dazmiller: <pre><p>link?</p></pre>varun06: <pre><p>It seems I am not good at reddit too :)</p></pre>dazmiller: <pre><p>haha all good mate, thank you for updating it.</p></pre>varun06: <pre><p><a href="http://varunksaini.com/consul-service-discovery-golang/" rel="nofollow">http://varunksaini.com/consul-service-discovery-golang/</a></p></pre>jasonrichardsmith: <pre><p>I have a github repo that looks to achieve the above with all platforms.</p> <p><a href="https://github.com/duckbunny" rel="nofollow">https://github.com/duckbunny</a></p> <p>Adding a config loader next, for loading configs from multiple platforms.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

952 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传