Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

How to design a chat application like WhatsApp or Facebook Messenger?

Anjali Sharma answered on January 15, 2023 Popularity 5/10 Helpfulness 1/10

Contents


More Related Answers

  • link to open whatsapp chat
  • how to send message to yourself in whatsapp
  • whatsapp message link
  • how to send a whatsapp message to new contact in whatsapp desktop
  • android studio whatsapp export chat
  • whatsapp chat html code
  • whatsapp chat html code
  • whatsapp chat html code
  • whatsapp chat html code
  • whatsapp chat html code
  • whatsapp chat html code
  • whatsapp chat html code
  • whatsapp chat html code
  • whatsapp chat html code

  • How to design a chat application like WhatsApp or Facebook Messenger?

    0

    Extend the chat app to support media files such as photos and videos. Media files are significantly larger than text in size. Compression, cloud storage, and thumbnails are interesting topics to talk about.

    End-to-end encryption. Whatsapp supports end-to-end encryption for messages. Only the sender and the recipient can read messages. Interested readers should refer to the article in the reference materials [9].

    Caching messages on the client-side is effective to reduce the data transfer between the client and server.

    Improve load time. Slack built a geographically distributed network to cache users’ data, channels, etc. for better load time [10].

    Error handling.

    The chat server error. There might be hundreds of thousands, or even more persistent connections to a chat server. If a chat server goes offline, service discovery (Zookeeper) will provide a new chat server for clients to establish new connections with.

    Message resent mechanism. Retry and queueing are common techniques for resending messages.

    https://bytebytego.com/courses/system-design-interview/design-a-chat-system

    Popularity 5/10 Helpfulness 1/10 Language java
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jan 15 2023
    Anjali Sharma
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.