using rabbitmq in android for chat

前端 未结 3 1745
孤独总比滥情好
孤独总比滥情好 2021-02-06 09:55

We have implemented rabbitmq chat in android. but java client of rabbitmq is power hungry.is rabbitmq good for android chat?. we have used direct exchange individual queue for p

3条回答
  •  青春惊慌失措
    2021-02-06 10:08

    I think chat applications for real time delivery is sending messages over network instantly rather than reliability. Reliability means confirm receiving against delivery. But in real time chat application does not make sure it. RabbitMQ is a message broker server and it is dedicated for reliability first, but it is not responsible for real time message communication. You may use RabbitMQ for real time communication but sometimes may not be in real time.

    You can use STOMP-WebSocket(For simple messaging), Firebase(easy development for instant messaging), but most professional and usable protocol is XMPP(Extensible Messaging and Presence Protocol) for real time communication.

    If you have any suggestion or query against this answer, let me comment bellow.

提交回复
热议问题