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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Building a Node.js Events App Using RabbitMQ, Websockets, and Django

51 点作者 fourk超过 13 年前

3 条评论

stellar678超过 13 年前
Nice! I put together a similar stack for a client last fall.<p>Did you consider skipping Nodejs and just rigging up a way for the browsers to subscribe directly to RabbitMQ over HTTP? We looked at that possibility but went with node (a) to make authorization code easier to write and (b) because of the availability socket.io as an easy abstraction over different socket-like techniques in the browser.<p>Also, are you worried that the node instances will get overwhelmed if they're receiving all activity through a fanout exchange? It sounds like each node instance will be responsible for figuring out how to route each piece of information coming through the system, instead of leaving this up to the RabbitMQ cluster.<p>Cheers though, looks like a fun project!
评论 #3020324 未加载
ww520超过 13 年前
I notice there's a load-balancer in front of the nodejs servers. Would that become the single point of failure and single point of bottleneck? How many concurrent connections can the load-balancer take?
MostAwesomeDude超过 13 年前
I asked on the blog, but since there's other people here who might be using these technologies: Why Node and WebSockets over Twisted and Athena/Minerva?