Skip to main content

Time to First Fix (TTFF)

TTFF measures how long it takes, from the moment a container or booking is added, until Dockflow has its first tracking data. It is the "cold start" metric - how quickly tracking begins.

TTFF = AVG(first_fix − created_at)

Target: 8 hours | Lower is better


What it measures​

TTFF indicates how quickly tracking data starts arriving after a container is added. A lower value means faster initial visibility.

FieldMeaning
created_atWhen the tracking job was created (container added via API, upload, or manual entry)
first_fixWhen the first tracking data was received and stored

TTFF measures the gap between the two.


How it works​

When a container is added:

  1. Created - Dockflow creates a tracking job (created_at).
  2. Queued - Dockflow queries carrier systems.
  3. First fix - the first data point arrives and is stored (first_fix).

TTFF is the time between step 1 and step 3.


Exclusions​

TTFF deliberately drops rows where the number would be misleading:

ExclusionRuleWhy
Backfilled datafirst_fix < created_atA first fix that predates creation is a historical import, not a real cold-start measurement.
Inactive bookingsbooking-only entry with TTFF > 24hA booking that took more than a day for its first fix was almost certainly not yet active when it was created; counting it would inflate the metric. Bookings already linked to a container are kept.
No first fix yetfirst_fix is nullNothing to measure until the first data arrives.

Like Confirmation Delay, TTFF does not filter on whether the tradeflow is still active - the question "how fast did tracking start" is answered once, at creation time, and does not change because the tradeflow later closed.


Outliers​

Any container with TTFF above 80 hours (10 × the 8h target) is held out of the average and reported separately as an outlier count, so a few very slow cold-starts cannot distort the headline number.


Status bands​

StatusBandMeaning
On Target≤ 8 hData arriving quickly after add
Warning8 - 12 hSome delay in initial data
Critical> 12 hSignificant delay; may indicate reference or visibility issues

What affects TTFF​

FactorEffect
Carrier API availabilitySome carriers surface new containers faster than others
Container visibilityA new booking may not yet be visible in the carrier system
Reference correctnessA wrong or not-yet-linked booking/BL reference delays the first fix
Processing queueHigh-volume periods can add wait time

Drill-down view​

Click "View details" to list individual containers sorted by TTFF:

  • Worst first: containers that took longest to get first data.
  • Best first: containers that received data fastest.

Export to CSV, up to 1,000 rows.


Troubleshooting high TTFF​

Possible causes

  1. Container not yet visible in the carrier system
  2. Booking reference not yet linked to a container
  3. Carrier API delays

What to do

  1. Allow 24-48 hours for brand-new bookings before treating a high value as a fault.
  2. Verify the booking / BL references are correct.
  3. Check the carrier portal directly to compare.