← Back to All Projects

Problem & Audience

Problem: Static placement in geo-distributed Edge-Core clusters causes SLA violations when regional traffic surges exceed capacity caps or WAN latency spikes.

Target Audience: Distributed systems reviewers and hackathon evaluators examining predictive edge offloading and zero-drop rolling migration.

Role: Migration Controller & K3d/netem Simulation Engineer (Team of 5)

Outcome & Personal Contribution

Secured Runner-Up at VIT Parallax Hackathon as a five-member team, demonstrating predictive pre-warming and core-1 to edge-chennai migration reaching 9.2 ms p95 latency in the simulated trace.

  • Developed the migration controller to dynamically migrate workloads between simulated edge and core nodes based on resource conditions.
  • Worked with local Kubernetes (K3d) and Linux netem to emulate distributed cluster nodes and realistic network latency.
  • Contributed to workload orchestration logic, simulation test runs, and the final technical demonstration.

Architecture & Data Flow

Telemetry monitors cluster load and regional +60s demand forecasts against capacity caps, triggering PREDICTIVE_PREWARM and rolling workload migration between core-1 and edge-chennai.

1. Steady Statecore-1 · Steady load

inference-api serves baseline traffic on core-1 within normal CPU and latency thresholds.

  1. 1. 1. Steady State (core-1 active): inference-api serves baseline traffic on core-1 within normal CPU and latency thresholds. [core-1 · Steady load]
  2. 2. 2. Surge Forecast (+60s Spike > 600 cap): Predictive load monitor detects Chennai regional demand forecast exceeding the 600 request capacity cap. [Forecast > 600 cap]
  3. 3. 3. Predictive Migrate (core-1 → edge-chennai): Migration controller executes PREDICTIVE_PREWARM and shifts active pods from core-1 to edge-chennai with zero dropped requests. [PREDICTIVE_PREWARM]
  4. 4. 4. SLA Stabilized (9.2 ms p95): Traffic stabilizes on edge-chennai with measured 9.2 ms p95 latency in the recorded simulation. [9.2 ms p95 settled]

Engineering Decisions & Trade-Offs

Local K3d + Linux netem Emulation

Decision: Simulated multi-region edge/core topology locally on K3d clusters with Linux netem latency shaping rather than provisioning live multi-region cloud VMs.

Trade-off: Results reflect a controlled simulated cluster rather than production WAN hardware, while enabling reproducible hackathon demos and deterministic fault injection.

Predictive Pre-Warm Before Cutover

Decision: Triggered pre-warming on the destination edge node upon forecast breach before draining the core instance.

Trade-off: Temporarily doubles pod footprint during handoff, preventing cold-start request drops during the surge.

Testing & Verification Evidence

  • Recorded 4-stage Edge ↔ Core migration trace (Steady → Surge → Migrate → Settled) deployed at orbit.aayu.sh.
  • Demonstrated live to VIT Parallax Hackathon judges, earning Runner-Up among competing teams.

Known Limitations & Scope

  • Simulated architecture run on local K3d and Linux netem; modeled telemetry in the portfolio Lab reproduces the decision controller and recorded trace.
Kubernetes (K3d)Linux netemPython / Go OrchestrationEdge-Core TopologyTelemetry
See milestone in Journey →

Captured Application Interfaces

ORBIT Edge-Core workload orchestrator steady state with inference-api on core-1
Stage 1 — Steady State: inference-api running on core-1.
ORBIT surge forecast showing Chennai spike expected above 600 capacity cap
Stage 2 — Surge Forecast: Chennai +60s forecast exceeds 600 cap.
ORBIT rolling migration moving inference-api from core-1 to edge-chennai with zero dropped requests
Stage 3 — Rolling Migration: PREDICTIVE_PREWARM from core-1 to edge-chennai.
ORBIT stabilized edge-chennai serving inference-api with 9.2ms p95 latency
Stage 4 — SLA Stabilized: inference-api active on edge-chennai (9.2 ms p95).