Real-time is not judged by whether the feed loads. It is judged against strict, published thresholds, and a feed that misses them quietly gets down-ranked or dropped by the apps riders use. GTFS-Realtime feed reliability is therefore a design target you build toward, not something you check after launch. The numbers are public and specific. They cover how fresh the data must be, how often to refresh it, how few errors are tolerated, and which HTTP details keep the whole thing cheap to run.
When a GTFS-Realtime feed goes stale diagnoses a feed that has already failed. This piece is the forward-looking version: the standards a producer designs for so the feed does not fail in the first place.
Why Does GTFS-Realtime Feed Reliability Come Down to Numbers?
GTFS-Realtime feed reliability requires four things at once. Positions and trip updates must be no more than about 90 seconds old, and alerts no more than about 10 minutes. Fewer than 1 percent of responses may be invalid, and the feed refreshes at least every 30 seconds. Miss any one consistently and consumers throttle, flag, or drop the feed.
How Fresh Does the Feed Have to Be?
Freshness is the headline number, and it splits by feed type. The gtfs.org real-time best practices call for vehicle positions and trip updates to be no more than about 90 seconds old, refreshed frequently. Service alerts run on a slower clock, expected to propagate within about 10 minutes. A detour or a cancellation does not change second to second the way a moving bus does.
Google’s quality benchmarks for realtime data use the same figures: a feed age of no more than 90 seconds when Google receives it, and up to 10 minutes for alerts. The point is consistent across consumers even where exact tolerances differ. Freshness is measured in seconds for live data and minutes for alerts, and the margin is small. A feed that averages 60 seconds old but spikes to 5 minutes during the evening peak fails when it matters most. The target is the worst case, not the average.
How Often Should You Update, and How Often Should Consumers Poll?
Two cadences sit behind one feed: how often you regenerate it, and how often consumers fetch it. Best practice puts generation at least every 30 seconds, or whenever the data changes. Publishing faster than the source data actually changes adds volume without adding accuracy. A vehicle that reports its position every 15 seconds gains nothing from a feed rebuilt every 3.
Consumer polling is where cost lives. Every app polling your feed adds requests, and every vehicle adds to the size of each response. An agency running 50 vehicles serves a heavier payload than one running 10, from the same interval and the same set of consumers.
What Error Rate and Uptime Do the Apps Tolerate?
Consumers watch the shape of a feed’s responses over time, and they expect the invalid-response rate to stay low, under roughly 1 percent. An invalid response is a fetch that returns a malformed feed, a decode failure, or an error status. A feed that intermittently serves a truncated or unparseable file looks unreliable even when its uptime is nominally high, because the consumer counts the failures against it.
Uptime and content validity are separate checks, and both have to hold. A URL that responds 100 percent of the time while serving a frozen file is not reliable in the sense that matters, since the timestamps inside it are stale. This is the same distinction that trips up a URL-only uptime monitor, covered in feed hosting and uptime: reachable is not the same as fresh, and neither one alone is reliability.
Which HTTP Details Keep a Feed Cheap and Reliable?
A few HTTP conventions do a disproportionate amount of work, and skipping them is what makes a feed expensive to serve. Support conditional requests. When a consumer sends an If-Modified-Since header, a feed that has not changed can answer with a 304 Not Modified instead of resending the whole payload. That cuts bandwidth for both sides.
Last-ModifiedandIf-Modified-Since: let consumers skip a download when nothing has changed since their last fetch.- Accurate
Content-Typeand correct protobuf encoding: so a consumer’s decoder does not reject the response as invalid. - Sensible cache headers: so intermediaries do not over-cache a feed that updates every 30 seconds, serving stale data no one meant to publish.
- HTTPS with a monitored certificate: an expired certificate fails every consumer at once, and it is one of the more common abrupt outages.
These conventions are the difference between a feed that scales to many consumers cheaply and one that reserves capacity it does not need. The gtfs.org real-time best practices and Google Transit GTFS-Realtime guidance document the specifics.
What Does It Take Operationally to Hold Those Numbers?
Hitting the thresholds once is easy. Holding them every service day, through schedule changes and signal dropouts and certificate renewals, is the actual reliability problem. It takes a freshness monitor that decodes the feed and reads timestamps rather than only pinging the URL. Set the alert threshold tighter than the consumer’s, so an operator hears about a problem first. It also takes a certificate renewal that cannot silently lapse, and a static feed kept in step with the real-time layer so predictions never reference trips that no longer exist. What feed quality scores measure covers the static-feed side of the same discipline.
The architecture underneath decides how hard this is. A feed produced from your CAD/AVL trip assignment, on infrastructure built to stay up, has fewer moving parts to keep aligned than a chain of separate exports stitched together. Fewer parts, fewer places to miss a number. The field-level detail behind the timestamps these thresholds measure is in GTFS-RT vehicle positions and trip updates.
Where TransitFare Fits
TransitFare is a transit technology company founded in 2012 that builds GTFS-Realtime infrastructure for small and mid-sized transit agencies running 10 to 50 vehicles. It generates positions, trip updates, and alerts from one dataset and hosts them on the TransitFare Cloud platform. The platform has a strong production reliability record and has processed 60 million+ fare validations. A software-only rollout is typically live in about 4 weeks.
Reliability is a number you design for, then monitor, not a matter of luck. Explore Real-Time Tracking & CAD/AVL to see how the feeds are produced. The complete GTFS feed set makes the case for why one source of truth makes those numbers easier to hold. For the produced feed end to end, see GTFS publishing in TransitFare Cloud.
FAQ
How Old Can a GTFS-Realtime Feed Be Before Consumers Reject It?
Consumer guidance generally wants vehicle positions and trip updates no more than about 90 seconds old, with service alerts propagating within about 10 minutes. Google’s own benchmarks use the same 90-second and 10-minute figures. Exact tolerances vary by consumer, but the pattern holds: live data is measured in seconds, alerts in minutes.
What Error Rate Will the Apps Tolerate?
Consumers expect a low invalid-response rate, on the order of under 1 percent. An invalid response is a malformed feed, a decode failure, or an error status. A feed that intermittently serves an unparseable file reads as unreliable even at high uptime, because each failed fetch counts against it over time.
Does Supporting If-Modified-Since Really Matter?
Yes, for cost and scale. When a consumer sends an If-Modified-Since header and the feed has not changed, the server can return a 304 Not Modified instead of resending the full payload. Across many consumers polling every 30 seconds, that saves substantial bandwidth on both sides and keeps a busy feed cheap to serve.
Is Uptime the Same as Reliability?
No. A URL can respond every time while serving a frozen file whose timestamps are stale. Reliability is uptime and freshness and validity together, which is why a URL-only uptime check misses the most common real-time failures. You need a monitor that decodes the feed and reads its timestamps.