Compute top-N posts in a workspace

Read the full interview experience this question came from →

Quick Overview

This question evaluates skills in designing scalable, low-latency analytics and aggregation systems, covering event tracking, time-windowed ranking, stream processing, storage trade-offs (OLTP vs OLAP), caching, API design, and handling late or duplicate events.

Compute top-N posts in a workspace

Company: Atlassian

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

Design a feature that returns the top-N posts (e.g., Confluence pages/blog posts) in a workspace. Requirements: - Define what “top” means (e.g., views, likes, comments, or a weighted score). - Support queries like: top N posts for the last 24 hours / 7 days / 30 days. - Low latency for reads. - Handle high write volume of events (views/likes). Deliverables: - Event tracking and aggregation design. - Storage choices (OLTP vs OLAP) and schema. - API design and caching. - Handling late/duplicate events and backfills.

Overview: This question evaluates skills in designing scalable, low-latency analytics and aggregation systems, covering event tracking, time-windowed ranking, stream processing, storage trade-offs (OLTP vs OLAP), caching, API design, and handling late or duplicate events.

Read the full Atlassian Software Engineer interview experience this question came from

|Home/System Design/Atlassian
Atlassian logo
Atlassian
Jan 5, 2026
mediumSoftware EngineerOnsiteSystem Design
10
0

Design a feature that returns the top-N posts (e.g., Confluence pages/blog posts) in a workspace.

Requirements:

  • Define what “top” means (e.g., views, likes, comments, or a weighted score).
  • Support queries like: top N posts for the last 24 hours / 7 days / 30 days.
  • Low latency for reads.
  • Handle high write volume of events (views/likes).

Deliverables:

  • Event tracking and aggregation design.
  • Storage choices (OLTP vs OLAP) and schema.
  • API design and caching.
  • Handling late/duplicate events and backfills.

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...