Design a PTC Back Office That Delivers Track Bulletins to Locomotives
Last updated: November 29, 2026
Quick Overview
Design the back-office system for Positive Train Control that computes and delivers each train's movement authorities, speed restrictions, and work zone bulletins to the locomotive's onboard computer, so the onboard system can enforce stops and speed limits.
Bnsf
November 29, 20260
0
0 solved
Design the back-office system for Positive Train Control that computes and delivers each train's movement authorities, speed restrictions, and work zone bulletins to the locomotive's onboard computer, so the onboard system can enforce stops and speed limits.
BNSF operates Positive Train Control across its network, where a back office feeds dispatcher authorities and temporary speed restrictions to onboard systems over radio and cellular links. The interviewer checks safety-first reasoning: correctness and freshness over availability, fail-safe behavior, versioning, and end-to-end acknowledgment.
What the Interviewer Expects
- Puts safety invariants ahead of throughput
- Models bulletins as versioned, signed data scoped to a train's route
- Requires end-to-end acknowledgment from the onboard unit
- Defines fail-safe behavior when data is missing or stale
- Covers multi-site redundancy and consistent failover
- Mentions audit logging and regulatory traceability
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- A temporary speed restriction is added while a train is already en route. Walk through delivery and what happens if the train never acknowledges.
- How do you prevent a stale or replayed message from loosening a restriction?
- How do you fail over between two data centers without ever losing a restriction?
- How does interoperability with other railroads' locomotives on your track change the design?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: for each active PTC train, compute the set of authorities (limits it may occupy), permanent and temporary speed restrictions, and work zones relevant to its route; deliver them before depa...
High-Level Design
- Sources: dispatching system (authorities), engineering systems (work zones, slow orders), and track database (permanent speeds, signals, geometry).
- Bulletin service: a strongly consisten...