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.
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
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.