using rabbitmq in android for chat

前端 未结 3 1743
孤独总比滥情好
孤独总比滥情好 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:03

    I don't think that use RabbitMQ directly for developing a chat is the better solution.

    There are other solution more light please read this post about MQTT.

    Another standard solution is use XMPP protocol (for example whatsup uses a custom XMPP).

    We made some test and we also had some problem about battery consuming.

    BTW, you can mix the technologies, mixing RabbitMQ as back-end and some other server (XMPP,MQTT) as front-end.

    Read this post about the MQTT.

    MQTT used by Facebook Messenger

    EDIT

    I would add this post MQTT vs. XMPP Which Should I Choose?

    EDIT2

    Please read also this and this on the official rabbitmq-group

提交回复
热议问题