3 ms·
If this was a system design interview, would this design be approved?
by slekker 3y ago
If this was a system design interview, would this design be approved?
- zmgsabst 3y agoI’m guessing about their requirements. They decided to go the extra step and decode locally to save the S3 bucket entirely — so maybe not, as my change still has that (wasteful) step. But the questions “can we group these operations together to save on network?” and “will we hit API limits due to fanout?” are ones I’ve had (in other contexts) during design reviews. I think it’s weird they missed that, initially. Fanning a video out per frame and per operation seems inherently problematic; batching seems the obvious answer. Design review is meant to address that (variety of) concern.