Problem Statement
When a social network grows, storing and querying relationships between millions or billions of users becomes slow and inefficient. Traditional relational databases struggle to handle complex queries like mutual friends, friend recommendations, or shortest connection paths at scale, causing delays and poor user experience.
