Social Network: Users, Friendships & Feeds
UML Class Diagrams · made in Skemio

What it shows
- Model friendships as explicit edge records to support state and blocks.
- Use materialized paths on comments to query nested threads in one query.
- Decouple post creation from feed fan-out to prevent timeline bottlenecks.
The takeaway
Treat user relationships as first-class edge entities to handle blocks, requests, and feeds cleanly.
- #SystemDesign
- #SoftwareArchitecture
- #SocialMedia
- #UML
- #Backend
- #DatabaseDesign





