Back to problems

Compute top-N posts in a workspace

System Design · Atlassian · Hard

Build a service that returns the top-N content items in a workspace over a rolling time window. Items may be documents, wiki pages, or blog posts. Your system must: Define a ranking policy for “top”, such as number of views, likes, comments, or a weighted score. Answer queries for N items within the last 24 hours, 7 days, or 30 days. Provide low-latency reads. Absorb a very high rate of interaction events including views and likes. Cover these areas in the design: Tracking…

Checking your access…