RabbitMQ - 基本新手问题
我们的场景:数十台 Windows 笔记本电脑偶尔连接到网络。需要在每台笔记本电脑上存储简单的数据记录,然后在连接可用时将这些记录可靠地传输到网络上运行的服务。考虑每台笔记本电脑上的 RabbitMQ,将数据馈送到网络上的“主”RabbitMQ。这是财富 100 强,包装等是一个问题。
问题1:一般来说,Rabbit在这里有意义吗?如果没有,有什么方法建议吗?
问题2:当我在Win 上安装时,我必须先手动安装Erlang。是否有更简单/更友好的打包/部署选项? (他们的 IT 人员可以完成所有正常的部署工作,包括创建 win 服务,但是在用户计算机上安装 Erlang 可能会引起人们的注意……)
感谢那些曾经使用 Rabbit 完成此任务的人提供的任何帮助。
Our scenario: dozens of Windows laptops which are occasionally connected to the network. Need to store simple data records on each laptop, then have these reliably transferred to a service running on the network once connection is available. Considering RabbitMQ on each laptop, feeding data to a "main" RabbitMQ on the network. This is a Fortune 100, and packaging etc is a concern.
Question 1: In general, does Rabbit make sense here? If not, any suggestions for an approach?
Question 2: When I installed on Win I had to manually install Erlang first. Are there packaging/deployment options which are simpler/more friendly? (Their IT people can do all the normal deployment stuff including create win service, but installing Erlang on user machines might raise eyebrows...)
Thanks for any help from those of you who've been there, done that with Rabbit.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
问题1:你需要的是一个存储转发机制。 RabbitMQ 可以用于此目的,实际上通过使用 Shovel 插件负责将消息从本地 Rabbit 移动到远程 Rabbit(为您处理重新连接、重试等)。
问题 2:答案与问题 1 相关。RabbitMQ+Shovel 在概念上适合您的存储和转发需求,但如果技术上不可接受,您可能需要考虑更简单/更原始的方法,例如... SMTP!
Question 1: What you need is a store and forward mechanism. RabbitMQ can be used for that, actually by using the Shovel plug-in to take care of moving messages from the local Rabbit to the remote one (handling reconnection, retries, etc... for you).
Question 2: The answer is related to question 1. RabbitMQ+Shovel is conceptually suitable for your store and forward needs but if, alas, not technologically acceptable, you may want to consider simpler/cruder approaches like... SMTP!
如果 Windows 笔记本电脑由 Windows 基础设施支持,那么最合理的选择是 MSMQ,它提供了这种“开箱即用”功能;例如,存储并从客户端转发到服务器。易于通过策略安装和管理。
If the Windows laptops are backed by a windows infrastructure, the most logical choice is MSMQ, which offers this "Out-of-the-box"; e.g. store and forward from clients to server(s). Easy to install by policy and administrate.