Design Messenger

  • -16

    anul_jain 10 months ago

    features a messenger should support :

    reply
  • -16

    anul_jain 10 months ago

    features a messenger should support :

    reply
  • 2

    kumar955 10 months ago

    Points from this URL needs to considered for mobile first messanger architecture. https://code.facebook.com/posts/820258981365363/building-mobile-first-infrastructure-for-messenger/

    reply
  • 7

    kumar955 10 months ago

    Points from this URL needs to considered for mobile first messanger architecture.
    https://code.facebook.com/posts/820258981365363/building-mobile-first-infrastructure-for-messenger/

    reply
    • 2

      Kabs 9 months ago

      Excellent article, thanks for sharing.

      reply
  • 1

    ashish_saraswat 5 months ago

    1)chat
    2)send file(images etc)
    3)video chat
    4)should be supported for both web and mobile
    5)notifications when some one msgs
    6)Size of a message

    reply
  • 0

    ashish_saraswat 5 months ago

    Expected storage size will be 480TB

    reply
  • 0

    ashish_saraswat 5 months ago

    For 300 million users

    reply
  • 1

    s6m 5 months ago

    Question about how clients will receive the messages. For example, when two people are talking, should the client be keep making http request to server? the other idea would be to let the server push the message to clients using websockets. How do i make design choice here?

    reply
    • 0

      vipul_mehra 3 months ago

      Web-Sockets is preferred. But at conceptual level AJAX polling will do the work. Make a chat client, which can be accessed using HTTP, send parameters and let it store the chat message along with the required parameters in some data-store (Your preference), then let the client send back the response as in chat messages that can be in any format which can be parsed.

      reply
  • 1

    muhshan 3 months ago

    Don't you need the conversation ID in the fetchConversation request ?

    reply
  • 0

    himanshuverma 3 months ago

    what will be the schema for the to store the conversation so that the retrieval will be faster?

    reply
  • 0

    lgaur 2 months ago

    For live conversation, why queue is not used? There could be a distributed queue system region wise to assist live message conversation. Here topic could be conversationId.

    reply
  • 1

    harpreet_sethi 2 months ago

    Features:

    reply
Click here to jump start your coding interview preparation