Back to Projects

Case Study

Yassir Food & Travel Apps

Offline-first architecture, real-time sync, and performance optimization

Overview

Contributed to Yassir’s mobile ecosystem across food delivery and travel products. Yassir is a leading super app in North Africa, combining ride-hailing, food delivery, grocery shopping, and payments into a single platform used by millions.

The Problem

The food app needed to operate reliably under unstable network conditions while maintaining real-time updates. After MongoDB Device Sync was deprecated, a new scalable synchronization strategy was required without degrading performance or user experience.

My Role

Mobile Developer / R&D — led offline-first research, evaluated local databases, designed real-time synchronization, optimized app performance, and contributed to travel product integrations.

Architecture

Designed an offline-first architecture with local persistence and background sync. Benchmarked multiple storage solutions (Hive, Realm, ObjectBox, file-based) and initially adopted Realm with MongoDB Device Sync. After its deprecation, rebuilt the real-time layer using JSON Patch for diff-based updates, combined with Socket.IO and Server-Sent Events for efficient synchronization. Applied aggressive caching and UI optimization strategies to minimize perceived latency.

Tech Stack

FlutterDartRealmMongoDBSocket.IOServer-Sent EventsJSON PatchHiveObjectBoxLocal StorageAmadeusRiverpod

Results

  • Evaluated and benchmarked 5 local database solutions to identify the most reliable offline-first strategy.
  • Re-architected real-time synchronization after MongoDB Device Sync shutdown using JSON Patch and event-driven transport (Socket.IO, SSE).
  • Significantly improved perceived performance, reducing visible loading states across critical user flows.
  • Enabled resilient app behavior under intermittent connectivity through offline-first design.
  • Contributed to Yassir Travel by integrating Amadeus APIs for booking and travel services.

Links