Lesson 2 of 4 · Arrival and presentation deadlines
Put arrivals against playout deadlines
18 minute lesson · 3 checks along the way
Your goal for this lessonBuild a fixed presentation schedule from arrival and generation histories, distinguishing late arrival from timely receipt.
In this lesson 3 sections · 3 checks
Read & understand
Give each packet a generation time and arrival time
Label six fictional packets A through F, generated at ticks 0, 1, 2, 3, 4 and 5. A tick is a common time unit for this exercise, not a measured IndoStar interval. Their delivery delays are 2, 2, 5, 2, 2 and 2 ticks. Adding generation time and delay gives arrivals A=2, B=3, C=7, D=5, E=6 and F=7. Packet C arrives after D and E despite being generated earlier.
The earliest arrival is at tick 2. Choose a startup wait D of one tick from that first arrival, then present one packet each tick in generation order. The resulting deadlines for A through F are 3, 4, 5, 6, 7 and 8. We are defining a fixed schedule: a missing packet does not pause or shift the deadlines of later packets.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Compare each arrival with its own deadline
A arrives at 2 for a deadline of 3 and can wait one tick. B arrives at 3 for deadline 4. C arrives at 7 for deadline 5, so it is late by two ticks. D, E and F arrive one tick before their respective deadlines. With sufficient storage, five packets can be presented on time; C cannot recover its expired deadline merely because its bytes eventually arrive.
The relevant comparison is arrival time versus the deadline of that packet, not versus the latest packet seen. Reordering does not automatically make D or E late, and eventual receipt of all six packets does not mean all six were available when scheduled. The example assumes no retransmission or reconstruction of missing media; a real receiver might behave differently, which would require another model.
Arrival is not the deadline
Original fixed-deadline model, in ticks. Each row uses the same time scale. A late C does not shift the deadlines of later packets.
Open full-size diagram in a new tab: Arrival is not the deadlineRead diagram data as a table
| Packet | Arrival tick | Deadline tick | Timing |
|---|---|---|---|
| A | 2 | 3 | 1 tick early |
| B | 3 | 4 | 1 tick early |
| C | 7 | 5 | Late by 2 ticks |
| D | 5 | 6 | 1 tick early |
| E | 6 | 7 | 1 tick early |
| F | 7 | 8 | 1 tick early |
Original fixed-deadline model, in ticks. Each row uses the same time scale. A late C does not shift the deadlines of later packets.
Check 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
State the boundary rule before counting success
For this model, an arrival exactly at its deadline is timely. At any shared tick, process arriving packets in alphabetical order before processing that tick’s scheduled presentation. A newly received packet can therefore be available for immediate presentation. Later we will also apply a finite storage limit at arrival, so this ordering can affect whether a packet obtains a slot.
The startup wait is referenced to the first received packet, while the presentation sequence remains A through F. In more general histories the first arrival might be a later-generated packet; the model still needs a clear reference and schedule. It does not simulate clock drift, unknown generation timing or an adaptive delay estimator. Those omissions must remain visible when interpreting the result.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.