Ask: websocket with active/active servers

blov · · 773 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi,</p> <p>I have found a lot of good articles on how to make websocket in go. It&#39;s really easy to setup. I was wondering how we can make websocket with active/active server. How to share a common room between the servers? Is there already a good library for this or should I implement everything myself with redis/rabbitmq?</p> <p>Thank you!</p> <hr/>**评论:**<br/><br/>sacrehubert: <pre><p><a href="https://github.com/go-mangos/mangos" rel="nofollow">https://github.com/go-mangos/mangos</a></p> <p>Some combination of PUB/SUB (and possibly BUS) over websocket should achieve what you want.</p></pre>HugoWeb: <pre><p>Does active server means <a href="https://en.wikipedia.org/wiki/Active_Server_Pages" rel="nofollow">https://en.wikipedia.org/wiki/Active_Server_Pages</a> ? I&#39;m lost.</p></pre>WikiTextBot: <pre><p><strong>Active Server Pages</strong></p> <p>Active Server Pages (ASP), later known as Classic ASP or ASP Classic, is Microsoft&#39;s first server-side script engine for dynamically generated web pages.</p> <hr/> <p><sup>[</sup> <a href="https://www.reddit.com/message/compose?to=kittens_from_space" rel="nofollow"><sup>PM</sup></a> <sup>|</sup> <a href="https://reddit.com/message/compose?to=WikiTextBot&amp;message=Excludeme&amp;subject=Excludeme" rel="nofollow"><sup>Exclude</sup> <sup>me</sup></a> <sup>|</sup> <a href="https://np.reddit.com/r/golang/about/banned" rel="nofollow"><sup>Exclude</sup> <sup>from</sup> <sup>subreddit</sup></a> <sup>|</sup> <a href="https://np.reddit.com/r/WikiTextBot/wiki/index" rel="nofollow"><sup>FAQ</sup> <sup>/</sup> <sup>Information</sup></a> <sup>|</sup> <a href="https://github.com/kittenswolf/WikiTextBot" rel="nofollow"><sup>Source</sup></a> <sup>|</sup> <a href="https://www.reddit.com/r/WikiTextBot/wiki/donate" rel="nofollow"><sup>Donate</sup></a> <sup>]</sup> <sup>Downvote</sup> <sup>to</sup> <sup>remove</sup> <sup>|</sup> <sup>v0.28</sup></p></pre>

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

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