Streaming at Scale With Real-Time Mode: Sub-Second Train Telemetry Across the Netherlands
Overview
| Experience | In Person |
|---|---|
| Track | Data Engineering & Streaming |
| Industry | Public Sector, Transportation |
| Technologies | Lakeflow |
| Skill Level | Intermediate |
| DOWNLOAD SESSION SLIDES | |
In this talk, we showcase how NS (Dutch Railways) built an end-to-end Databricks solution that processes train telemetry in real time, enabling live detection of carriage failures and improving overall reliability. The platform handles more than 100 billion data points per day with sub-second end-to-end latency.
The session features a live demo of real train telemetry, giving the audience a direct, in‑room experience of real time.
We explain how the solution was engineered using the new Real-Time Mode for Spark Structured Streaming. The entire stack is built in PySpark and SQL, so no microservices, no separate streaming framework, just Databricks.
Throughout the session, we connect to other high velocity domains with cases like real time parcel rerouting, live airport baggage tracking and real-time signals feeding analytics and AI. Attendees leave with practical insights into bringing real time data into the modern data stack without the complexity of traditional streaming systems.
Session Speakers
Anant Pingle
/Sr. Specialist Solutions Engineer
Databricks
Wout de Ruiter
/Data Architect
Capgemini / Dutch Railways (NS)
Full Summary
How Dutch Railways processes billions of sensor events in real time with the Databricks Platform
Running one of the world's densest rail networks leaves no margin for slow data. Dutch Railways (NS) and partners refactored a fragmented telemetry estate into a unified, sub-second streaming platform on the Databricks Platform. The result shows what becomes possible when latency drops low enough to influence live operations, and how a framework-first approach to data engineering on Databricks makes that leap achievable with minimal code change. Teams looking to understand the full scope of what that foundation enables can explore the Databricks Platform and see how a unified stack supports everything from ingestion to operational decisioning.
FAQ
Only the trigger was switched on the Structured Streaming query, from a processing-time trigger to a real-time trigger. The shared framework insulated business pipelines, so developers did not rewrite logic to gain sub-second latency.
JSON repeats long field names alongside tiny values, which inflates payloads. Protobuf with a pre-shared schema reduced per-consumer throughput from about 30 MB per second to roughly 3.15 MB per second, enabling many more downstream consumers on the same infrastructure.
No. The pipelines run on single-node clusters while processing billions of data points per hour. Real-time mode efficiency plus periodic Delta Lake writes for longer-horizon analytics keeps compute cost low.
Real-time mode is generally available on Databricks Runtime 16.4 and above for Python and Scala, and the capability has been contributed to open source Apache Spark. On Databricks it also works with Lakeflow Declarative Pipelines, including serverless with autoscaling.
The team built native real-time connectors for AMQP and MQTT and extended Protobuf support for schema evolution. These are in preview, allowing direct streaming from regulated operational environments without requiring upstream changes.