Code RoomMultimodal content embeddings
HardPrep Room Coding #3841

Multimodal content embeddings

System designML systemsSenior–Staff~45 min

Design a multimodal content-understanding service that produces embeddings and structured tags for every piece of user-generated content (image + caption, and short video + audio transcript) on a platform ingesting ~3,000 items/sec. Downstream consumers include search, recommendations, and a moderation system, so the embeddings/tags must be consistent and reusable across all of them, produced within minutes of upload, and cheap enough to run on the full firehose. Embedding models get upgraded periodically, and you must handle re-embedding the back-catalog without breaking live consumers.

What a strong answer looks like

Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts (data model, bottlenecks, consistency, failure modes) and name the trade-offs you are making.

Clarify5:00 left
Estimate5:00 planned
Design15:00 planned
Deep dive12:00 planned
Failure8:00 planned
0:00
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.