Problem Statement:
Design a video lifecycle management system. A video may consist of different stages during its life cycle:
- Uploaded to TikTok
- Encoded to multiple formats/resolutions
- Hot
- Cold
The target system should manage video stages (uploaded, encoded, hot, cold) and it can apply multiple actions when the video reaches some stage and some conditions.
This question is a system design-style interview problem about modeling a video lifecycle with stages such as uploaded, encoded, hot, and cold. A strong solution typically uses a state machine or status model plus a rule/action mechanism so that multiple actions can be triggered when a video reaches a given stage and satisfies certain conditions.