Design Messenger

  • -10

    anul_jain 7 months ago

    features a messenger should support :

    reply
  • -12

    anul_jain 7 months ago

    features a messenger should support :

    reply
  • 2

    kumar955 7 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
  • 6

    kumar955 7 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 7 months ago

      Excellent article, thanks for sharing.

      reply
  • 1

    ashish_saraswat 2 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 2 months ago

    Expected storage size will be 480TB

    reply
  • 0

    ashish_saraswat 2 months ago

    For 300 million users

    reply
  • 1

    s6m 2 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 6 days 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
  • 0

    muhshan 1 day ago

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

    reply
Click here to jump start your coding interview preparation