惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
V
Visual Studio Blog
博客园 - 三生石上(FineUI控件)
Last Week in AI
Last Week in AI
Blog — PlanetScale
Blog — PlanetScale
爱范儿
爱范儿
J
Java Code Geeks
A
About on SuperTechFans
F
Fortinet All Blogs
B
Blog
aimingoo的专栏
aimingoo的专栏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
有赞技术团队
有赞技术团队
G
Google Developers Blog
Apple Machine Learning Research
Apple Machine Learning Research
V
V2EX
博客园_首页
博客园 - 叶小钗
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
Docker
云风的 BLOG
云风的 BLOG

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
The Disconnected Edge: How We Solved In-Flight Data Sync ...
Shubham · 2026-06-14 · via DEV Community

Shubham

When most engineers think about rolling out a modern streaming or web application, they visualize a standard cloud-native environment: a global CDN, elastic load balancers, and a continuous pipeline pushing updates to infinite resources.

But what happens when your deployment target is an isolated, battery-powered hardware device flying inside a metal tube at 35,000 feet?

At AirFi, operating a next-generation In-Flight Entertainment (IFE) platform forced us to completely rethink modern web architecture. When you lack a persistent, high-bandwidth connection to AWS, the cloud can no longer be your source of immediate truth. Instead, you are forced to conquer the ultimate disconnected edge problem.

Here is how we designed a hybrid, localized infrastructure to keep our systems updated without consuming precious in-flight bandwidth.

The Architecture: Hanger-Based Edge Proxies

Instead of trying to fight the high cost and extreme latency of satellite internet mid-flight to update heavy media content (like Hollywood movies, music, or web apps), we shifted our synchronization strategy entirely to the ground.

However, passenger gates are chaotic, and standard airport tarmac Wi-Fi is notoriously unreliable. To guarantee data integrity, we integrated our sync cycles into the aircraft's routine service windows, targeting two specific ground locations: airline plane hangers and catering/food hangers.


[ AWS Cloud Backend ]
        │
        ▼ (Over the Internet)
[ Hanger Content Proxy (Local Cache) ]
        │
        ▼ (High-Speed Local Wi-Fi)
[ Onboard Portable IFE Box ]

We deployed localized Content Proxies directly inside these hangers. These proxies acted as high-speed regional caches that pulled down global updates directly from AWS ahead of time. When an aircraft docked in or near the hanger for cleaning, catering, or maintenance, the portable IFE hardware automatically associated with the hanger’s dedicated high-speed Wi-Fi network to ingest the updates locally.

Atomic, Split-Manifest Synchronization

Even on a high-speed hanger network, turnaround windows can be unpredictably cut short. If a plane is pushed out early, a naive file-transfer system would result in corrupted movie files or broken application states.

To solve this, we decoupled our data ingestion pipeline into two distinct layers:

  1. The Content Manifest as the Ultimate Source of Truth: Rather than downloading a giant, opaque payload, the onboard device initially prioritized pulling down a highly compressed, lightweight Content Manifest. This file detailed the precise global state, directory layout, dependency tree, and cryptographic hashes of every single asset the device was required to hold for its next flight lifecycle.

  2. Sequential Atomic Downloads: Armed with the manifest, our synchronization engine didn't try to download everything at once. It processed assets sequentially and atomically—downloading and verifying exactly one manifest item at a time (e.g., syncing a single movie completely, writing it to disk, verifying its hash, and then moving onto the web application assets).

If the device lost connection mid-sync because the plane was moving, previously completed assets remained 100% intact, validated, and ready for use.

The Hybrid Layer: GSM Failover for Critical Telemetry

While transferring gigabytes of media assets was strictly gated to high-speed hanger Wi-Fi networks, certain data points couldn't wait for a hanger turnaround. Passenger usage analytics, digital menu transaction logs, and urgent system configuration overrides needed a faster loop back to our core backend.

For this mission-critical data, we built a hybrid networking layer that utilized GSM (cellular) networks. The moment the aircraft touched down on the tarmac anywhere in the world and a cellular signal became available, the device spun up its GSM module to securely offload encrypted telemetry and pull down vital system updates.

By separating heavy media from critical operational telemetry, we ensured that our data loops remained low-latency and cost-effective, proving that navigating the edge isn't about having a constant connection—it's about making the absolute most of the connections you have.