Design a Facebook post comment and nested replies endpoint
Filed under OYO
The question
Design the endpoint, database schema, and JSON structure for a Facebook post comment section where comments can have hierarchical nested replies. Address relational vs NoSQL options, query strategy, and concurrency.
No write-up yet. Related questions below have one.
Related OYO questions
Collected from public candidate posts and coding forums. Updated Nov 2026.