Hacker News new | past | comments | ask | show | jobs | submit login

"XMPP as MQ mechanism may work better in Internet scale distributed system."

Why do you think so? What advantages does XMPP have over other MQ technologies at "internet scale"?




Is there any existing MQ system that is decentralized? I said "may works better" because it is a conjecture limited by my ignorant mind. Internet is essentially decentralized. So if any MQ system can be modified to worked in decentralized environment. Then they may work better than XMPP. I believe the performance of throughput of those system may be higher than XMPP.

On the other hand. If I only have an internal cluster, I will choose to use existing MQ system instead of XMPP. I may want higher throughput, and I don't care authentication of endpoints because they are all trusted. Why do I need all the extra stuff that XMPP demands?

Regarding the case I mentioned in PubSub: It was just an idea. In fact, I was the one who mentioned the idea then. And our CTO and VP of Eng thought it was an interesting idea because in this case, we just wanted to see how does it work out and did a test implementation. And it was pretty flexible for us to use it.

Of course XMPP is not the first MQ system on Internet. SMTP is the first one, right? In SMTP, we don't know anything of endpoints. We assume senders and recipients exist and are taken care of by SMTP servers. I think in XMPP, because the original application is chatting, then it adds an new protocol to notify "presence" of endpoints.

Edit: I think when I said "internet scale", I actually meant "a system of billion nodes that are loosely coupled together"


"Is there any existing MQ system that is decentralized?"

Yes. http://softwarelivre.sapo.pt/broker/ for example.

But "decentralized" does not mean "federated" which is I think your point.

Best regards,


XMPP pierces NAT for one reason. This means you can have XMPP clients behind many more firewalls then you can with amqp.

Also xmpp libraries are available in almost every language and platform and traditional MQ's do not have presence or federation(ie horizontal scalability).

It's not about using XMPP as a message queue per say. It's about using xmpp as a p2p messaging system for machine to machine communication as well as integration with chat.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: