Section 6 · production
Video storyboard
Shot-by-shot plan for the six demo clips D1 to D6. Every clip is a screen recording of the live system (dc2-live on AWS, real GitHub Actions runs, a real benchmark run); editing removes waiting time and labels every removal with the real elapsed time. Commands and pass conditions live in the demo plan; this page fixes what is filmed, in which order, and how it is cut.
Overview
Six clips, 460 s of footage, recorded in two sittings. Playback order is D1 to D6; with 20 s of hand-overs the section runs 480 s, the 8-minute allowance.
| Clip | What it proves | Final length | Session |
|---|---|---|---|
| D1 | An owner uploads once in the browser and plays the processed video back. | 1:35 (95 s) | A |
| D2 | The Publisher CLI publishes through the public API alone. | 1:05 (65 s) | A |
| D3 | A job identifier gives a second owner or an anonymous caller nothing. | 0:40 (40 s) | A |
| D4 | Fargate encoders go from 0 to the cap of 3 and back to 0; the Lambda short lane is bounded at 2. | 1:50 (110 s) | A |
| D5 | A scripted test against the live API yields latency figures, reported against the targets. | 1:05 (65 s) | A |
| D6 | A one-line change reaches production through pull-request CI, Main CI and CD with no manual deployment step. | 1:25 (85 s) | B |
| Footage (hand-overs add 20 s, total 480 s) | 7:40 (460 s) | ||
These are the lengths in the demo plan's time budget. Each clip's shot table below adds up to its length exactly.
Shot conventions
Each shot has a time range in the final cut, a screen, an action, a burned-in caption, one voice-over sentence and an edit note. Text added in editing is either a caption or a time label, never a fabricated number.
| Element | Where | What it contains | Rule |
|---|---|---|---|
| Caption | Bottom centre, white on a dark bar, at least 36 px tall at 1080 p | What the shot shows, at most 8 words | Values that come from the take (an elapsed time, a peak) are filled in from that take. Shown as [m:ss] or [n] below. |
| Time label | Top right, monospace | ×N · real elapsed 4m12s on a sped-up segment; wait trimmed · real elapsed 7m16s on a cut | On screen for the whole sped-up segment, or 3 s after a cut. The elapsed time is read from the raw take's timecode; for D6 it is cross-checked with the run times from gh run view. |
| Highlight box | Around one field | A 4 px outline, no fill | Marks the value the voice-over refers to; never hides anything. |
| Freeze-frame | Whole frame | The last frame of a state change, held | Used so a state that lasted under a second can be read; held at most 2 s. |
| Voice-over | Recorded narration track | One plain sentence per shot, describing what is happening | Recorded in editing, after the footage is cut, by the clip's narrator. A dash means no narration on that shot. |
Zoom levels refer to the browser's page zoom. The terminal uses one size throughout (see screen setup).
D1Owner uploads in the browser and plays back · 95 s
One submission becomes a processed, playable video for its owner, and the result survives a page reload. Steps: 6 · D1.
Before recording starts. The session A warm-up is done and less than 5 minutes old. One browser window, clean profile, on the CloudFront site at 125 % zoom, signed in as owner A on the Upload page; developer tools closed. The upload file (a short MP4 with audio, inside the short-lane limits) sits in a folder the file picker opens to directly. Owner A's library holds no earlier demo jobs, so the new one is easy to find.
| # | Time | On screen | Action | Caption | Voice-over | Edit note |
|---|---|---|---|---|---|---|
| 1 | 0:00–0:05 | Browser, Upload page, account label visible, 125 % | Hold | D1 · Upload once, play back | Owner A is signed in to the live site. | Sign-in happened before the take starts. |
| 2 | 0:05–0:15 | Upload form with the file name | Choose the file, click submit once | Short MP4 with audio, submitted once | The owner picks a short video and submits it once. | File-picker navigation cut. Highlight box on the file name. |
| 3 | 0:15–0:35 | Job badge on the page | Wait; the badge moves through the states the page shows | Job state as the page reports it | The source is stored and a job runs in the background, off the request path. | Up to 20 s of real time kept. If processing ran longer, the rest is sped up with a time label. |
| 4 | 0:35–0:40 | Badge reads done | None | Done · submit to done [m:ss] | The job has finished. | Freeze-frame 1 s on the done badge, highlight box. |
| 5 | 0:40–1:10 | Player, frames advancing; address bar cropped | Click play, let it run | Owner-only playback, picture and sound | The processed video plays for its owner, with picture and sound. | First 3 s with the video's own sound, then narration over a lowered track. Crop removes any signed URL. |
| 6 | 1:10–1:25 | Your videos page | Open Your videos, reload the page | After reload: still in the library | After a full reload the job is still listed, so it is stored, not held in the page. | Keep the reload visibly in shot. |
| 7 | 1:25–1:35 | Library row of the new job | Hold | Stored, processed later, played by its owner | - | Highlight box on the row. |
D2Batch publish with the Publisher CLI · 65 s
A second application, using only the public API, publishes two files for the same owner. Commands: 6 · D2.
Before recording starts. Terminal at full height on the left half, cleared, with the variables from the private recording notes already set (not echoed). A browser window on the right half, signed in as owner A on Your videos, 110 %. The two-file folder exists; owner A's cookie jar for D2 is empty so the login is real.
| # | Time | On screen | Action | Caption | Voice-over | Edit note |
|---|---|---|---|---|---|---|
| 1 | 0:00–0:04 | Terminal, empty prompt | Hold | D2 · Publisher CLI, public API only | The Publisher is a separate command-line application that talks to the public API. | - |
| 2 | 0:04–0:12 | Terminal: login and its JSON result | Run login; type the password at the hidden prompt | Login: password at a hidden prompt | It signs in as owner A. | Password typing cut. The cookie jar is never opened. |
| 3 | 0:12–0:27 | Terminal: publish output, two files, each with a job id | Run publish on the folder | Two files accepted, two jobs | Publishing the folder uploads two files and creates one job for each. | Highlight box on the two job ids. |
| 4 | 0:27–0:47 | Terminal: status --wait until done | Run status on one job id | Polling the job until it finishes | The CLI polls the job's status until processing is complete. | Sped up with a time label; repeated poll lines removed. |
| 5 | 0:47–1:02 | Browser, Your videos after reload, both files listed | Reload | Same owner's library in the browser | The browser shows the two new videos in owner A's library. | Highlight box on the two rows. |
| 6 | 1:02–1:05 | Same frame | None | No service code, no database credentials | - | Freeze-frame. |
D3A second owner is denied · 40 s
The same identifier works for its owner and fails for owner B and for an anonymous caller. Commands: 6 · D3.
Before recording starts. Recorded straight after D2, reusing D2's completed job. Same terminal, cleared, not under set -e. A second browser window, a separate profile signed in as owner B on Your videos at 110 %, kept behind the terminal. Owner B's cookie jar is empty.
| # | Time | On screen | Action | Caption | Voice-over | Edit note |
|---|---|---|---|---|---|---|
| 1 | 0:00–0:08 | Terminal: owner A's status, ok: true, done | Run the first command | D3 · Owner A reads its own job | Owner A asks for its own job and gets it. | Highlight box on ok. |
| 2 | 0:08–0:12 | Terminal: owner B's login result | Run login, type password | Owner B signs in | A second owner, B, signs in. | Password typing cut. |
| 3 | 0:12–0:22 | Terminal: B's status and output, both errors | Run both commands | Owner B: not found, twice | With the same identifier, owner B gets "not found" for both the status and the output. | Highlight box on each error. |
| 4 | 0:22–0:32 | Terminal: anonymous HTTP 401 | Run the curl line | No session: HTTP 401 | Without a session the API answers 401. | Highlight box on the code. |
| 5 | 0:32–0:40 | Owner B's browser, Your videos | Bring the window forward, reload | Owner B's library: A's video absent | Owner B's library does not list owner A's video. | Last 2 s frozen. |
D4Scalability: capacity follows work · 110 s
Two views from one capture: a Fargate burst of five padded jobs (70 s) and a Lambda burst of four short jobs (40 s). Layout, fixtures and commands: 6 · D4.
Before recording starts. D5 is finished and the baseline is confirmed: the ECS Running filter shows no tasks and both Processing queues read 0 available, 0 in flight. AWS console at 110 % in region ap-southeast-1, with the ECS Tasks tab on the left half and the SQS standard queue on the upper right, both on auto-refresh; account name cropped. Lower right: a terminal split into five panes with the publish commands typed but not run. A second set of tabs is ready for view 2: CloudWatch ConcurrentExecutions for the short encoder and the Lambda trigger page showing maximum concurrency 2. All nine cookie jars are logged in. The screen recording starts before the first pane runs and stops after the CloudWatch graph has been read, so both views come from one raw take.
| # | Time | On screen | Action | Caption | Voice-over | Edit note |
|---|---|---|---|---|---|---|
| View 1 · Fargate burst (0:00–1:10) | ||||||
| 1 | 0:00–0:05 | ECS list empty, SQS 0 and 0, panes idle | Hold | D4 · No work, no encoders | With no work queued, no encoder task is running. | Highlight box on the empty task list. |
| 2 | 0:05–0:10 | Five panes accept jobs; SQS available rises | Run the five panes within a few seconds | Five padded clips, standard lane | Five 24-second clips, padded above 64 MiB, are published at once. | - |
| 3 | 0:10–0:30 | Tasks appear, PROVISIONING then RUNNING, stopping at 3 | Wait | One task per job, at most 3 | The launcher starts one finite Fargate task per job, up to the cap of three. | Sped up with a time label. Freeze-frame 1 s on the first RUNNING task. |
| 4 | 0:30–0:40 | Three running; SQS shows jobs still available | Wait | Cap reached: the rest wait queued | With three running, the remaining jobs wait in the queue. | Highlight boxes on the task count and on Messages available. |
| 5 | 0:40–0:55 | Tasks reach STOPPED; panes print done | Wait | Jobs finish, tasks stop | The waiting jobs are taken up, the jobs finish and the tasks stop. | Sped up with a time label. |
| 6 | 0:55–1:10 | Running filter empty; SQS 0 and 0; five done | Hold | Back to zero · real elapsed [m:ss] | When the work is done, no encoder task is left running. | Cut from a longer hold; time label gives submit-to-empty time. |
| View 2 · Lambda burst (1:10–1:50) | ||||||
| 7 | 1:10–1:15 | Lambda trigger page, maximum concurrency 2 | Hold | Short lane: Lambda, at most 2 | Short clips go to a Lambda lane limited to two at a time. | Highlight box on the setting. |
| 8 | 1:15–1:25 | Terminal, four jobs accepted; ECS list stays empty | Run the four-job loop | Four short jobs, no Fargate task | Four short clips are published together and no Fargate task starts. | Cut between terminal and ECS list. |
| 9 | 1:25–1:45 | CloudWatch graph over the burst interval | Refresh the graph | Observed peak: [n] concurrent invocations | The concurrency graph for the burst peaks at the observed value. | Cut labelled "wait trimmed" for the metric delay. The narration names the number on the graph. |
| 10 | 1:45–1:50 | Terminal, four done | None | Capacity follows work in both lanes | - | Freeze-frame. |
D5Performance: a scripted test with an HTML report · 65 s
A 60 s load of 10 virtual users through the public edge, then the report generated from that run's own files. Workload, commands and the report contents: 6 · D5.
Before recording starts. No other submissions in flight. Terminal cleared with the run variables set; the stage throttle is read on camera as part of shot 1. Browser at 110 % on a blank tab, ready for 127.0.0.1:8765/report.html. The report renderer exists and has been tried on an earlier run directory.
The renderer scripts/demo/perf_report.py is specified in the demo plan but not yet written. Shots 4 to 7 depend on it. D5 is recorded before D4, so its report has no D4 job data and omits the optional queue-wait section.
| # | Time | On screen | Action | Caption | Voice-over | Edit note |
|---|---|---|---|---|---|---|
| 1 | 0:00–0:08 | Terminal: stage throttle, then the generator command starting | Run both commands | D5 · 10 users, 60 s, public API | A scripted test sends ten virtual users to the live API for sixty seconds. | Highlight box on the throttle value. |
| 2 | 0:08–0:15 | Terminal while the run is in progress | Wait | Run in progress | The run takes about a hundred seconds of real time. | Sped up with a time label. |
| 3 | 0:15–0:23 | Terminal: the DC2-RESULT summary through jq | None | Per route: count, errors, percentiles | The result line gives, per route, request count, errors and percentiles. | The renderer and server commands after it are cut. |
| 4 | 0:23–0:35 | Report: header and the targets-against-actuals table | Scroll | This run's figures against the targets | The report, built from this run's files, sets each figure against its target. | Highlight box on each pass or miss mark. |
| 5 | 0:35–0:50 | Report: per-route table, status-route histogram | Scroll | Status route latency distribution | The status route, which the browser polls, shows how its latency is spread. | Per-route table may be shortened; the header and targets table may not. |
| 6 | 0:50–1:00 | Report: requests per second with the stage limit line | Scroll | Throughput against the stage limit | Requests per second are drawn against the stage's limit of twenty. | - |
| 7 | 1:00–1:05 | Report: provenance, sample count and verified hash | Scroll | Recomputed from raw samples, hash verified | Every figure is recomputed from the raw samples, whose hash is checked. | Freeze-frame on the last second. |
D6Maintainability: a change through the pipeline into production · 85 s
The subtitle of the Your videos page is changed on a branch and followed through pull-request CI, merge, Main CI and CD until the live page shows it. About 24 minutes of real time becomes 85 s. The change, the branch target and the steps: 6 · D6.
Before recording starts. A clean checkout of Main in the terminal (left half, cleared), gh authenticated. GitHub at 110 % in a browser window on the right, signed in, on the repository's pull-request list. A second browser window, signed in as owner A on the live site's Your videos at 125 %, showing the current subtitle. The team has agreed the branch target and whether the change stays in production (see the demo plan). The screen recording runs for the whole chain as one raw take.
Where the waits go
| Stage | Real duration (measured) | Kept in the cut | How the wait is removed |
|---|---|---|---|
| Edit, commit, push, open PR | about 1 min | 12 s | Cuts between commands |
| Pull-request CI | 6.5 to 8.7 min | 15 s | Three frames (pending, mid-run, all green) joined by cuts, one "wait trimmed" label |
| Merge | seconds | 5 s | None |
| Main CI | 6.2 to 11.8 min, median about 7.7 | 15 s | Speed-up of the job list with a time label |
| CD (starts about 2 s after Main CI) | 7.6 to 8.4 min (Deploy 4m13s, smoke test 2m08s in the latest run) | 20 s | Cut to each job's start and green end, one "wait trimmed" label per job |
| Production reload | seconds | 18 s (with the opening shot) | None |
Durations are from the runs listed in gh-durations; the labels in the clip use the take's own times.
Both databases pause after 300 s without connections auto-pause, and the two CI stages touch no AWS resource for about 15 minutes. CD's deploy step calls the Processing API, and on 22 Oct three CD runs failed there with 503 while the database woke. During Main CI, about 3 minutes before it ends, the warm-up calls are repeated off-camera every 2 minutes until the smoke test finishes. This is an operator action outside the pipeline: the CD workflow does not wake the databases itself.
| # | Time | On screen | Action | Caption | Voice-over | Edit note |
|---|---|---|---|---|---|---|
| 1 | 0:00–0:03 | Live site, Your videos, current subtitle, 125 % | Hold | D6 · Before: the live subtitle | The live library page shows the current subtitle. | Highlight box on the subtitle. |
| 2 | 0:03–0:15 | Terminal: branch, the one-line diff, commit, push, gh pr create | Step 2 of the plan | One-line change, pushed, PR opened | The subtitle is edited, committed and pushed, and a pull request is opened. | Cuts between commands; the diff stays on screen at least 3 s. |
| 3 | 0:15–0:30 | GitHub PR page, checks list | Wait | Pull-request checks: pending to green | The pull request's checks run, and all of them pass. | 5 s pending, 4 s mid-run, 6 s all green; "wait trimmed" label with the real elapsed time. |
| 4 | 0:30–0:35 | PR page, Merged badge | Merge | Merged into Main | With every check green, the pull request is merged. | - |
| 5 | 0:35–0:50 | Actions: push CI run on Main, commit SHA visible | Wait | Main CI: full verification, same commit | The push to Main runs full verification on the merged commit. | Sped up with a time label; highlight box on the SHA. |
| 6 | 0:50–1:10 | Actions: CD run, admission job, then Deploy and the upload-to-playback smoke test | Wait | CD: admit, deploy, smoke test | Deployment starts by itself, confirms CI passed for this commit, deploys, and runs an upload-to-playback test. | One "wait trimmed" label per job; highlight box on the same SHA. |
| 7 | 1:10–1:25 | Live site, Your videos, new subtitle | Reload | Live · push to production [m]m | After a reload the live page shows the new subtitle. | Highlight box on the subtitle; last 2 s frozen. The caption carries the take's total elapsed time. |
If a check goes red or CD fails, the take continues and the recovery is kept in the raw footage (6 · D6, if the take fails). The cut then shows the failure and the rerun, and shots 3 to 6 are shortened to stay at 85 s.
Recording sessions
Two sittings. Session A records D1, D2, D3, D5 and D4 under one database warm-up. Session B records D6, which changes production and is mostly waiting for GitHub runners.
Both Aurora clusters pause after 300 s without connections and need a warm-up before the next database call succeeds (6 · Warm-up). Session A keeps them awake by never leaving more than 5 minutes between takes; every take of D1 to D4 touches both databases. If a gap runs longer, the warm-up is repeated before the next take.
| Session | Order | Wall-clock time | Estimated AWS cost |
|---|---|---|---|
| 0 · preparation (no recording) | Fixtures, accounts, cookie jars, tools; screen setup; a test recording of 10 s to check legibility; team decisions on D6 | about 45 min, the day before | About $0.05 to $0.20: registrations and a test upload keep the databases awake for 15 to 20 min |
| A · use cases, performance, scale | Warm-up → D1 → D2 → D3 → D5 → confirm zero tasks and empty queues → D4 view 1 → D4 view 2 | about 75 to 90 min, including one retake per clip | $0.30 to $1.20 of database time (two clusters, 0.5 to 2 ACU each, for 90 min) plus under $0.05 of encodes and requests |
| B · pipeline | Clean checkout → start recording → D6 chain (warm-up during Main CI) → production reload | about 40 min; another 25 min unrecorded if the change is reverted | About $0.10 to $0.35: databases awake for about 25 min, one smoke encode, the deployment. A revert repeats it. |
D5 comes before D4 so no scaling load runs during the latency test. D4 comes after D5 because it needs an empty cluster and empty queues. Session B can start directly after session A; it still needs its own warm-up during Main CI. Cost figures use the rates in demo-cost; they are estimates, not an invoice.
Take naming
Raw takes are named D<clip>-<session>-T<take>-<yyyymmdd-hhmm>.mov, for example D4-A-T2-20261024-1512.mov. They stay in the private recording folder outside Git, together with a one-line log per take: start time in UTC, job or run identifiers, outcome, and keep or discard. A discarded take is kept until the final clips are checked. Final clips are D1.mp4 to D6.mp4 in site/clips/.
Screen setup
| Item | Setting |
|---|---|
| Display | 1920×1080 (an external 1080 p monitor, or the built-in display set to a scaled resolution closest to it). Recording at 30 fps. |
| Browser zoom | Live site 125 %; GitHub, AWS console and the report 110 %. Bookmarks bar, extensions bar and other tabs hidden; one window per purpose; a clean profile per owner. |
| Terminal | Monospace 20 pt, about 100 columns by 30 rows on half the screen, light background, short prompt without user, host or path; shell autosuggestions off. |
| Hidden | Notifications (Do Not Disturb on), the Dock (auto-hide), desktop icons, the AWS account name and number, passwords, cookie jars, presigned URLs (address bar cropped during playback), environment values, .env files, the shell history, and any token from gh or the AWS CLI. |
| Audio | No system sound except D1's playback shot; microphone off during capture (narration is recorded later). |
Editing and export
Cutting only removes waiting time; every removal is labelled with the real elapsed time, and every state change stays on screen long enough to read.
Tools
Any editor that can cut, change speed, freeze a frame and add text will do. On a Mac, screen recording ships with the system: QuickTime Player's New Screen Recording (or Shift-Command-5) records the full screen or a selected area. QuickTime can also trim a take. iMovie, if installed, covers the rest: split, speed change, freeze frame, titles, a voice-over track, and export. FFmpeg, already installed for the demo fixtures, can burn the time labels with its drawtext filter and convert the export if needed.
Order of work per clip
- Pick the take from the log and note the raw timecodes of every state change in the shot table.
- Cut to the shot table's ranges. Each removed or sped-up span gets its label:
wait trimmed · real elapsed 7m16sor×N · real elapsed 4m12s, where N is the real length divided by the kept length, rounded to a whole number. - Add the captions and highlight boxes from the table.
- Record the voice-over lines against the cut, one take per line; lower the D1 playback sound under narration.
- Export 1920×1080, 30 fps, H.264 video, AAC audio, MP4 container, named
D1.mp4toD6.mp4, intosite/clips/. - Check each length with
ffprobe(command in 6 · Recording preparation): each clip within 1 s of its row in the overview, total at most 460 s.
site/clips/ has a .gitignore that ignores everything but itself, and the publishing workflow excludes the folder, so the videos are never committed or published. The deck plays them from that folder on the presenting laptop; sharing them with the team needs a separate private copy.