InterviewLegend

Design a Document Upload Service

Signature problem
Alex Chen45 min readAdded 183 real interview reports

A document upload service takes files from users, keeps them safe and lets people find them again. The bytes live in object storage. A database holds the facts about each file: its name, owner, folder, size and status. Background workers check every file before anyone can open it. At JPMorgan this prompt tends to show up in the design round of the experienced-hire Superday, drawn on the HackerRank whiteboard, and in hiring-manager rounds at the senior end. The name changes from round to round. You might hear "cloud storage application something like Google Drive", or a "global file-sharing platform" covered from upload and download down to the APIs. Another version is a "file processing platform" where users upload, view, search and delete files. The bank flavor is a document intake that waits on a slow outside validator. Underneath, they're one design. This lesson builds the full thing and points out where each version leans.

The JPMorgan angle
You may not start from a blank board. An SDE-2 round can hand you a skeleton (load balancer, file fetching service, user service, S3) and ask you to scale it, with the story expected to reach an event streaming service. Keep the boxes you're given and say what each one is missing.

JPMorganPremium lesson · System design round

The JPMorgan design, worked end to end.

  1. The API and data modelSystem design · Signature problem
  2. The design, drawn out2 diagrams
  3. 5 deep divesWith the tradeoffs
Get the JPMorgan questions

$49 a year · all 107 companies · instant access

183 JPMorgan interview reports · guide updated

JPMorgan interview guide

Know what JPMorgan asks before you walk in.

13 coding · 6 system design · 18 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your JPMorgan interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.