You are on page 1of 2

here is the java interview

3
1. What is Facebook Messenger?
..................................................................................
..................... 60
2. Requirements and Goals of the System
..................................................................................
...... 60
3. Capacity Estimation and Constraints
..................................................................................
............ 61
4. High Level Design
..................................................................................
............................................ 62
5. Detailed Component Design
..................................................................................
.......................... 65
a. Messages Handling
..................................................................................
......................................... 65
b. Storing and retrieving the messages from the database
............................................................. 67
c. Managing user’s
status
..................................................................................
................................... 68
6. Data partitioning
..................................................................................
............................................... 69
7. Cache
...................................................................................
................................................................ 70
8. Load balancing
..................................................................................
................................................. 70
9. Fault tolerance and Replication
..................................................................................
..................... 70
10. Extended Requirements
..................................................................................
............................... 71
a. Group chat
..................................................................................
........................................................ 71
b. Push notifications
..................................................................................
............................................. 71Designing
Twitter ...........................................................................
............................................................... 72
1. What is Twitter?
..................................................................................
............................................... 72
2. Requirements and Goals of the System
..................................................................................
...... 72
3. Capacity Estimation and Constraints
..................................................................................
............ 73
4. System APIs
..................................................................................
..................................................... 74
5. High Level System Design
..................................................................................
............................. 74
6. Database Schema
..................................................................................
........................................... 75
7. Data Sharding
..................................................................................
................................................... 76
8. Cache
...................................................................................
................................................................ 78
9. Timeline Generation
..................................................................................
........................................ 79
10. Replication and Fault Tolerance
..................................................................................
.................. 79
11. Load Balancing
..................................................................................
.............................................. 80
12. Monitoring
..................................................................................
....................................................... 80
13. Extended Requirements
..................................................................................
............................... 80Designing Youtube or
Netflix ...........................................................................
............................................. 82
1. Why Youtube?
..................................................................................
.................................................. 82
2. Requirements and Goals of the System
..................................................................................
...... 82
3. Capacity Estimation and Constraints
..................................................................................
............ 83
4. System APIs
..................................................................................
..................................................... 83
5. High Level Design
..................................................................................
............................................ 85
6. Database Schema
..................................................................................
........................................... 85
7. Detailed Component Design
..................................................................................
.......................... 86

You might also like