Distributed Telemetry·Feb 2025·9 min read

Decoupling Real-Time Logistics Across 700+ Trains and Enterprise SAP Systems

How asynchronous edge-buffering and telemetry streams replaced 100+ unorganized WhatsApp groups under strict arrival cutoff windows.

Sole Tech Lead:Aabhas Kumar Jha (Sole Architect & Tech Lead)

Commissioned & Deployed for RK Business Group across national railway catering corridors.

SYS-ARCH // 02 · RK MOVEIT FLEET700+ Rail Fleet GPS Telemetry & Rolling 45-Min Kitchen Cutoff Corridor
LIVE TELEMETRY|60 FPS VECTOR ENGINE
++++
CORRIDOR DISPATCH TELEMETRY · 700+ ACTIVE TRAINS● REAL-TIME GPS FEEDNDLSORIGIN KM 0KOTA CLOUD KITCHEN #04CUTOFF: T-18M · LOCKEDKOTA JNKM 465BCTDEST KM 1384TRAIN 12951 RAJDHANI130 KM/H · 1,420 PAX MEALSTUNNEL OFFLINE BUFFERLOCAL SQLITE CACHE · 42 ORDERSSAP S/4HANAGRN #91824 POSTED0-RECON TIMEOUT
Fig. ARCH //Indian Railways corridor dispatch radar: Live GPS tracking across 700+ passenger trains (Rajdhani 12951), dynamic 45-minute cloud kitchen prep cutoff countdown gates, and offline SQLite buffering with zero-reconciliation SAP S/4HANA GRN posting.
Active Fleet
700+ Trains
Real-time GPS tracking & scheduling
Kitchen Network
200+ Kitchens
Base & commercial cloud kitchens
Field Personnel
1,500+ Staff
Dedicated tablets via Zoho MDM
Reconciliation
7.5h → <30m
Weekly inventory & GRN closure time
High-Velocity Rail Telemetry Workflow
NODE 01
Rake Demand Placement

Rake managers log real-time pax meal demand via locked tablets

NODE 02
Cutoff Window Engine

Dynamic 45-min rolling window synced with live railway GPS feeds

NODE 03
Kitchen Production

200+ base kitchens prep and pack against locked delivery gates

NODE 04
SAP GRN Sync

Delivery verification auto-updates item consumption into SAP ERP

The Problem: Coordinating Transit Food Production Under Dynamic Delays

Operating on-board catering across India's rail network requires coordinating food demand across 700+ active trains and 200+ regional base kitchens. Previously, demand was relayed across 100+ unorganized WhatsApp groups, leading to stockouts, perishable food waste, and days of delayed SAP reconciliations.

Resilient Asynchronous Telemetry Architecture

The system decouples edge demand collection from core enterprise ledger operations using a resilient message-driven topology:

  • ›React Native field application locked via Zoho MDM on company-owned Android tablets, ensuring zero distracted usage by staff.
  • ›Edge caching and offline-first queue: orders are buffered locally during tunnel cellular dropouts and synced automatically upon signal recovery.
  • ›Cutoff calculation engine calculates rolling 45-minute preparation windows based on live railway GPS telemetry feeds.
  • ›Automated SAP ERP connector that transforms finalized delivery manifests into real-time GRN consumption records.
Real-Time Cutoff Window Evaluatorcutoff_telemetry_engine.ts
interface TrainTelemetryEvent {
  trainNumber: string;
  stationCode: string;
  expectedArrival: string; // ISO 8601
  actualArrivalEstimated: string;
  passengerPax: number;
}

export function evaluateKitchenCutoff(
  event: TrainTelemetryEvent,
  kitchenPrepMinutes: number = 45
): { status: "OPEN" | "LOCKED" | "DISPATCHED"; windowRemainingMs: number } {
  const eta = new Date(event.actualArrivalEstimated).getTime();
  const now = Date.now();
  const cutoffTime = eta - kitchenPrepMinutes * 60 * 1000;
  const windowRemaining = cutoffTime - now;

  if (windowRemaining <= 0) {
    return { status: "LOCKED", windowRemainingMs: 0 };
  }
  return { status: "OPEN", windowRemainingMs: windowRemaining };
}

Key Takeaways & Architectural Insights

  • 01Operational friction in physical operations must be solved by simplifying the edge UI for non-technical field workers.
  • 02Strict cutoff windows require dynamic recalculation using real-time external GPS telemetry rather than static timetables.
  • 03Asynchronous edge buffering eliminates network failure modes in high-velocity transit operations.

Engineer High-Reliability Telemetry

Consult with Aabhas on offline-first architectures, fleet logistics, and dynamic ERP bridges.