0 day streak
Anonymous · shared experience20 Aug 2025 · 11 views

Freshworks: Data model for a Q&A / blogging app with feed and notifications

Interview question #Freshworks SDE 3 / Senior System design

Problem. Design the database for a question-and-answer or long-form blogging product. It has to support posts and comments, plus a user feed and notifications.

Context. This came near the end of a roughly 90-minute round with a staff-level interviewer, for a senior software engineer role. The same round covered the architecture of the candidate's current product, how they would implement rate limiting, Java lock types and deadlocks from real production incidents, caching, monitoring and on-call experience, and writing a SQL inner join.

How it went. The candidate picked a relational store, arguing that posts without comments fit SQL well, but couldn't defend SQL versus NoSQL for the feed and notification access patterns.

What mattered. Justifying storage choices for each access pattern, SQL fluency, and concrete personal ownership of everything on the resume. The candidate was rejected, and the recruiter pointed to this round. Earlier rounds were binary-tree views (max depth, left view, top view) and designing an LRU cache.

0 comments

Comments 0

No comments yet. Ask the author something, or add what happened in your own round.