Keeping a Crash-Prone Video Subtitle Service Alive

System Design · Karat · Easy

You own a backend service that produces subtitles for videos that users upload. All processing happens inside one process, and each video is handled by its own dedicated thread. The service has a serious failure mode: whenever more than 10 videos are being processed at the same time, the entire server crashes. The root cause has not been found yet, and the team is still investigating it. Describe the workarounds you would put in place to keep the service running and…

Loading the rest of the question…