architecture9 min read

The art of sending less: reducing mobile API payloads without breaking clients

  • GXS Bank
  • GXBank

AI Summary

Grab engineering shares how they reduced mobile API payloads by normalizing repeated nested entities into reusable pools while keeping the legacy response model intact on Android and iOS clients. The team explains their deduplication strategy, client-side reconstruction at the network boundary, robust fallback mechanisms, and gradual rollout telemetry, resulting in significant bandwidth savings and lower request durations.

Key Takeaways

  • Normalizes repeated nested entities into reusable pools to avoid inline duplication.
  • Reconstructs the legacy object graph at the network boundary on Android and iOS.
  • Implements a safe fallback mechanism with legacy-format retries on parsing or hash failures.

Why it matters

Reducing API payload sizes without forcing breaking changes on mobile clients is a fundamental engineering challenge at scale. This article provides a production-proven architecture for deduplicating nested JSON structures on the backend and reconstructing them on mobile clients, complete with fallback handling and rigorous safety telemetry.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.