Giter Site home page Giter Site logo

sd4's Introduction

System Design 4

Designing a service like Facebook Messenger

What to be designed?

  1. Facebook Messenger is a software application that provides its users with text-based, instant messaging services.
  2. Messenger users can chat from both cell phones and Facebook's website with their Facebook friends.
  3. Let's build an instant messaging service like Facebook Messenger where users can send each other text messages through web and mobile interfaces.

Feature Requirements

Primary Features:

  1. Messenger should support conversations between users on one-on-one basis.
  2. Messenger should support continued chat history storage.
  3. Messenger will keep track of its users' online / offline statuses.

Secondary Requirements:

  1. Users should experience chatting in real time with minimal latency.
  2. Our system should be highly consistent; users should be able to see all their devices having the same chat history.
  3. High availability by Messenger is desirable; in the interests of consistency we can tolerate lower availability.

Extended Features:

  1. Group Chats
  2. Push notifications

TO DO : Follow the below framweork to design System. Mandatory upload of hand drawn photos of design.

Capacity Estimation and Constraints

What will your estimations of scale? As a system design student you should be able to make intelligent assumptions based on real life systems.

System APIs

Database Design

Basic System Design and Algorithm

Data Partitioning and Replication

Caching

Load Balancing

Handling Edge cases in given system

sd4's People

Contributors

super30admin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.