<p>I have few knowledge about messaging. I want to make/add messaging utility to an iOS app. There are lots of API's and some open source codes but I'm having trouble to decide. </p>
<ul>
<li>The backend I'm using is written in Go (REST API) and is in AWS (single instance no queues etc..)</li>
<li>Messaging utility with group chat is preferred. But p2p is still fine.</li>
</ul>
<p>I'd like to add a library and work on top of that but there could be better solutions. Scalability is not a problem for the matter but it'd be nice to be able to modified and make it scalable. What do you suggest? </p>
<hr/>**评论:**<br/><br/>AYBABTME: <pre><p>I'm not quite following what your issue is. You want to broadcast messages from a single instance, in a non-distributed way? Do you care about persistence? Do you care about having to add a second instance for HA?</p></pre>QThellimist: <pre><p>Eventually yes but not for now. Like I said I don't know possible issues. It's mostly for a few hundred people but having the option to scale would be nice.</p></pre>raff99: <pre><p>If you want to add HA in the future, you need to think about how you will do it now. It's going to be hard to scale and replicate a system designed to work as a single instance.</p></pre>QThellimist: <pre><p>Could you give some heads up maybe tutorial? You can assume I know nothing.</p></pre>slawosz: <pre><p>What is usecase of messages in your app? Just chat?</p>
<p>I would use Pusher for prototype and worry about scalability when it will be a problem :)</p></pre>QThellimist: <pre><p>Yes just for chat. I'm checking pusher thanks.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
0 回复
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传