Northlight, film streaming · Configuration

Films take seconds to start and some fail

Since 10:30, films take five seconds or more to start and about one play in ten fails with error NL-503. Origin is receiving three times the requests it can serve. The live stream of the Lofoten crossing plays normally, and no player build shipped today.

Amara NwosuViewer, help center, 10:41
Every film takes ages to start this morning, and Night Market showed error NL-503 twice before it played. The live ferry stream works fine, so it isn’t my connection.

Your objective

Find out why the CDN stopped absorbing film traffic and correct its configuration without letting one viewer’s signed live response reach another viewer. The incident closes when films start within 2 seconds and origin is back under its capacity, live URLs keep a cache entry per viewer, and a film starts in your player in under 2 seconds.

Getting started

  1. Play a film with Playback stats on and watch the cache status of each segment. Then play the live crossing and compare.
  2. In Overview, line up the cache hit ratio with requests to origin and find what changed at 10:30.
  3. Open Releases and config. Use Check a URL on a film segment from your player and on both live URLs, and see which rule each one matches.
  4. Change the cache rules so film segments share entries again, deploy them, and play a film.

Resolution

  • For 30 seconds, films start within 2 seconds at p95 without failures, and origin stays under 6 requests per secondStarting
  • Live URLs signed for different viewers never share a cache entryStarting
  • A film starts in your player in under 2 seconds, after your changeStarting
Starting Northlight…
Loading telemetry…

How this lab runs

Northlight runs in this page. Your player and the simulated viewers request every manifest and segment through the CDN rules shown in Releases and config, with a shared cache in front of an origin that serves about 6 requests per second. The charts, logs, and traces come from those requests.