Software Engineer • Senior-Level
Software Engineer • Senior-Level
High QualityPrep Other System Design Questions Asked by OpenAI
Continue with targeted system design prep from OpenAI's system design questions.
Interview Summary
I had a system design phone screen with OpenAI focused on building an image upload service with deduplication across users. The main requirement was to ensure that identical images uploaded by different users would only be stored once. The discussion went deeper into object storage upload workflows, metadata management, and deletion edge cases, particularly how to reliably remove an image when its last remaining user deletes it.
Interview Details
System Design: Image Upload and Deduplication Service
The interviewer asked me to design an image upload platform where multiple users could upload and manage their images. The key requirement was that if different users uploaded the exact same image, the system should store only one physical copy of that image.
For example, if several users independently uploaded an identical image, they should each be able to access their uploaded image without the backend storing multiple copies of the same file. I proposed an architecture combining an object store with a metadata database.
My design used SHA-256 hashing to identify duplicate images. By computing a hash for each uploaded image, the system could determine whether an identical file had already been stored.
Metadata Database Design
I proposed separating image metadata from user-upload relationships using two database tables. The first table stored image-level metadata, representing the unique images managed by the platform.
Unlock Full Details
Create a free account to unlock this interview experience report.