TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

RabbitMQ Highly Available Queues and Clustering using Amazon EC2

47 点作者 karlgrz超过 12 年前

5 条评论

forkproc1582超过 12 年前
As I often have to repeat to people: don't use RabbitMQ unless you need durable messaging. That is to say, if losing a message is catastrophic, and in the event your broker goes down, you are guaranteed to still retain your messages, then I'd recommend RabbitMQ. For example, you do not want to lose a queued financial trade.<p>Most people really don't need durable messaging. They are typically offloading asynchronous work jobs via messaging. This is where a broker-less technology like ZeroMQ makes sense. You can achieve the same high-availability architecture without having to worry about the availability of your RabbitMQ choke point separating you from your worker instances.
rdtsc超过 12 年前
As a side note, some of these features (multi-node synchronization, distributed configuration management, HA) are made possible because of Erlang, which RabbitMQ is written in. It is a classic case of 'the right tool for the right job' example in my book.
jjoergensen超过 12 年前
Do not forget about the netsplit scenarios. In the case you have two datacenters, and one has network problems, you will end up in a split-brain scenario. Both datacenters may believe they are available or down. A way to solve this, could be to use more boxes and majority voting, with something like apache zookeeper. But none of this comes out of the box.
oijaf888超过 12 年前
Maybe I'm missing something but how does the client know what ip address/hostname to connect to? Does it just use some sort of multicast to find nodes?
elchief超过 12 年前
Does AWS count as highly available?
评论 #4696718 未加载