TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

51 pointsby fourkover 13 years ago

3 comments

stellar678over 13 years ago
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 未加载
ww520over 13 years ago
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?
MostAwesomeDudeover 13 years ago
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?