Team 17 · NUS Architecting Scalable Systems · Project 2

FlickPond

FlickPond is a video processing platform. An owner uploads a video, the platform converts it into an MP4 and adaptive HLS streams (360p, 480p, 720p), and only that owner can play the result. Any application can use it through one public API: the team built two, a browser app and a command-line Publisher, and it runs on AWS in ap-southeast-1.

Owner browser app or Publisher CLI MEDIA · OWN DATABASE 1 · Accept the upload Bytes go straight to S3. Media checks them, pins that exact version, creates the Asset. 4 · Show status, allow playback Media keeps its own copy of the job state and signs short-lived links for the owner. no shared database, no direct calls PROCESSING · OWN DATABASE 2 · Create the Job and an Attempt One Job per Asset. Each try is a numbered Attempt; a worker needs a lease to finish it. 3 · Encode A Lambda for short clips, otherwise a Fargate task. MP4 and HLS are written to S3. submit via queue work (queue) result via queue
clientMedia serviceProcessing service
Only two kinds of message cross the dotted line, a submit going right and a result coming back, both through queues. Neither service reads the other's database or calls it.

Slides for the 26 October presentation · References: run IDs, commits, files and receipts