Design a Graph Search Function for a Social Network

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Graph Size

API design

Main Search

Database design

Graph Store (TAO-like)

High-level design

Read Path (Search Query)

Request flows

Search Flow

Detailed component design

Query Planner: The GATE Component

Trade-offs and tech choices

Graph Database (Neo4j) vs Custom Graph Store (TAO)

Failure scenarios and bottlenecks

Celebrity Node Fan-out

Future improvements

Semantic Natural Language Search

Table of Contents

System requirements

Functional

Capacity estimation

Graph Size

API design

Main Search

Database design

Graph Store (TAO-like)

High-level design

Read Path (Search Query)

Request flows

Search Flow

Detailed component design

Query Planner: The GATE Component

Trade-offs and tech choices

Graph Database (Neo4j) vs Custom Graph Store (TAO)

Failure scenarios and bottlenecks

Celebrity Node Fan-out

Future improvements

Semantic Natural Language Search

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock
Try this problem yourself

Reading a solution is not the same as producing one under interview pressure. Design it on the whiteboard and get scored feedback.


Markdown supported

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Graph Size

API design

Main Search

Database design

Graph Store (TAO-like)

High-level design

Read Path (Search Query)

Request flows

Search Flow

Detailed component design

Query Planner: The GATE Component

Trade-offs and tech choices

Graph Database (Neo4j) vs Custom Graph Store (TAO)

Failure scenarios and bottlenecks

Celebrity Node Fan-out

Future improvements

Semantic Natural Language Search

Table of Contents

System requirements

Functional

Capacity estimation

Graph Size

API design

Main Search

Database design

Graph Store (TAO-like)

High-level design

Read Path (Search Query)

Request flows

Search Flow

Detailed component design

Query Planner: The GATE Component

Trade-offs and tech choices

Graph Database (Neo4j) vs Custom Graph Store (TAO)

Failure scenarios and bottlenecks

Celebrity Node Fan-out

Future improvements

Semantic Natural Language Search