Sedat Yıldız
Sedat Yıldız

Reputation: 61

Rabbitmq or Ejabberd, which one should i use for one to one chat?

I am searching Rabbitmq(amqp) and Ejabberd(xmpp) for a couple of days. But i couldn't figure out which one could be the best approach for one to one chat?

When a user visits a web page, the user will communicate with web page admin(if he/she is online) via using my chat tool. web admin can answer multiple visitors at same time in different chat rooms. but visitors can not talk each other, they can only talk to web admins.

which one (rabbitmq or ejabberd) is the best suited for these kind of needs? and which way should i use to implement it? (one exchange multiple queue for everything, different exchanges and queues for every visitor and web admin)?

Regards

Upvotes: 4

Views: 2276

Answers (1)

Mickaël Rémond
Mickaël Rémond

Reputation: 9055

For a chat service, you need to connect from clients to the server. XMPP is just done for that. It offers a protocol taylored for clients, for various environment (desktop, web, mobile).

AMQP is not designed for that. It is more taylored at infrastructure and back-ends communications.

Upvotes: 3

Related Questions