Design the Trophy Unlock Service for Launch Day Traffic

Last updated: November 29, 2026

Quick Overview

Design the PSN service that records trophy unlocks sent by games on console, updates each player's trophy list and progress, notifies friends, and keeps global rarity percentages current, surviving a major title's launch day spike.

PlayStation
System Design
Software Engineer
PlayStation
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the PSN service that records trophy unlocks sent by games on console, updates each player's trophy list and progress, notifies friends, and keeps global rarity percentages current, surviving a major title's launch day spike.

Trophies are written by every PlayStation game and read constantly by profiles, the trophy app and friends' feeds, and the busiest moments line up with big launches. The interviewer checks idempotent writes from flaky clients, read and write path separation, and how you keep hot global counters from becoming a bottleneck.

What the Interviewer Expects
  • Estimate write and read QPS including a launch spike
  • Make unlock writes idempotent keyed by account, title and trophy
  • Separate the durable unlock record from derived views (progress, rarity, feeds)
  • Handle hot counters for rarity with sharding or batching
  • Support offline consoles that sync unlocks later with original timestamps
  • Explain consistency expectations for each read surface
Key Topics to Cover
Idempotency
Event streaming
Sharded counters
Fan-out
Offline sync
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • A game ships a bug that awards a trophy incorrectly; how do you revoke at scale?
  • How do you detect trophy unlocks from modified consoles?
  • How would you serve a friend's trophy comparison page with low latency?
  • What happens if the rarity pipeline lags by an hour?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: a game reports an unlock; the player's list and completion percentage update; a platinum is awarded when all others are earned; friends see it in activity; global rarity updates. Non-funct...

High-Level Design

Console client queues unlocks locally and posts them to an Unlock API behind the edge. The API validates the title's trophy set and signature, then does a conditional insert into an unlocks table pa...


Submit Your Answer
Markdown supported

Related Questions