ethanliu96Oct 10, 2026
Netflix Ads phone screen, the TTL cache question
Interview Experiences
netflix
Netflix Ads phone screen, the TTL cache question
Netflix phone screen Tuesday, Ads org, one problem. Print a value but skip it if it was already printed in the last 10 seconds. Had a map of value to last printed time working in like 15 min.
Rest of the hour was follow ups. Like what if the server crashes and you lose the cache. Where do you persist, where does cleanup go. I said keep get as the hot path and push cleanup to a background thread, but kinda rambled on the crash part and didn't have a clean answer.
Haven't heard back yet. Do they weigh the follow ups more than the code?
17502.7k
Replies (0)
No replies yet — start the conversation!