How to achieve a reliable IM instant messaging application

Source: Internet
Author: User

The current IM application many, can have the following several ideas:
If you have a server, you can use a number of clients to connect to the server, the server for message forwarding, using a long connection way. The XMPP protocol can be used, and the server can refer to the open source OpenFire.
If you do not have a server, you can use a third-party IM platform to connect to the platform via the client and let the platform forward the message. The advantage of this is that it is not necessary to develop and maintain the message push process, but the performance of communication is obviously affected by the third party.

With the ring-letter platform, we can develop an Android app and a Web client, Web client mounted on the Sina server, so that we can use CS and BS in the way of peer-to-peer communication, group chat and so on, including hair text, pictures, videos, calls and so on.

Ring-letter platform just retains the ID, password information, so we can build a server, the user's information on our own server, and the ID and password through the encryption map to the ring platform, so that users log on to our server, and then indirectly connected to the ring server, to achieve communication functions.

If we want to implement a chat room, you can do this, create a chat room, the user logged into the group chat.

How to achieve a reliable IM instant messaging application

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.