Scaling a video pipeline to a target rate

A video platform processes uploaded video segments through a pipe-and-filter chain whose filters have these service times per segment: Ingest 4 ms, Transcode 30 ms, Thumbnail 10 ms and Publish 8 ms. Each instance handles one segment at a time, segments are independent, pipe transfer time is negligible, and a replicated filter splits segments evenly between identical instances. Ingest and Publish stay at one instance each; only Transcode and Thumbnail may be replicated. The chain must sustain at least 110 segments per second. Find the minimum number of Transcode instances, the minimum number of Thumbnail instances, the resulting maximum throughput in segments per second to the nearest whole number, and the latency of one segment in milliseconds, ignoring queueing delay (the chain is not backlogged).

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Architectural Patterns Questions: