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.
Commissioned & Deployed for RK Business Group across national railway catering corridors.
Rake managers log real-time pax meal demand via locked tablets
Dynamic 45-min rolling window synced with live railway GPS feeds
200+ base kitchens prep and pack against locked delivery gates
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.
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.