• 10th Floor, CEO Tower, Lot HH2-1, Me Tri Ha Urban Area, Pham Hung Street, Tu Liem District, Hanoi, Vietnam
  • 8.30 a.m - 6.00 p.m
CloudDrive : Enterprise Cloud Storage & Desktop Sync: Cross-Platform Cloud Platform case study banner
Cross-Platform Cloud PlatformCase Study

CloudDrive : Enterprise Cloud Storage & Desktop Sync

National Telecom & Cloud Infrastructure Provider

Project TypeCross-Platform Cloud Platform
ClientTelecom Partner
Completion Time8 Months
Team Size12 Members

Project Overview

A high-performance enterprise cloud storage and real-time synchronization platform developed with Flutter & Dart across 4 major operating systems: Windows, macOS, iOS, and Android. To achieve 60/120 FPS native desktop & mobile smoothness, the engineering team decoupled all heavy compute (SHA-256 chunk hashing, file indexing) onto background Dart Isolates and custom-built native OS bridges : integrating Win32 System Tray, macOS FSEvents Menu Bar, iOS File Provider Extension, and Android Storage Access Framework (SAF) into a single, unified codebase.

CloudDrive : Enterprise Cloud Storage & Desktop Sync: Cross-Platform Cloud Platform system overview
4-in-1Multi-OS Support (Win/Mac/iOS/Android)
60/120FPS Butter-Smooth UI
<85MBLightweight RAM Footprint
Real-TimeTaskbar & Menu Bar Sync

Challenges & Pain Points

Multi-OS Native Hook Fragmentation

Standard cross-platform frameworks lack deep OS integration required for cloud sync: Windows needs Win32 Shell & Tray APIs, macOS requires FSEvents & App Sandbox, iOS restricts background sync, and Android enforces strict Scoped Storage (SAF).

UI Thread Freezing on Large Files

Computing cryptographic hashes (MD5/SHA-256), chunking multi-gigabyte files, and generating image/video thumbnails on the main UI thread caused noticeable micro-stutters and frame drops below 30 FPS.

Unreliable Resumable Sync on Unstable Networks

Transferring large folders over mobile 4G/5G or fluctuating Wi-Fi frequently suffered from network drops, requiring full re-uploads without granular byte-level chunk resuming.

Mobile Battery & OS Background Limits

Mobile operating systems aggressively kill background processes to save battery, terminating continuous file backup flows unless proper native background services are implemented.

Our Solution

01

Custom Native Bridges for Win32, macOS, iOS & Android

Engineered custom platform channels and C++ FFI bindings tailored for each OS: Win32 ReadDirectoryChangesW and Taskbar Tray for Windows; native FSEvents watcher, Menu Bar status, and Keychain for macOS; File Provider Extension (integrating directly into Apple's native Files app) for iOS; and ForegroundService with Storage Access Framework (SAF) for Android.

02

Dart Isolates & Worker Pools for Butter-Smooth 60/120 FPS

Offloaded all CPU-intensive workloads : chunk slicing, SHA-256 hashing, SQLite indexing, and media thumbnail generation : to background Dart Isolates and C++ worker threads. The Flutter main UI thread remains 100% dedicated to rendering, guaranteeing flawless 60/120 FPS smooth scrolling with 100,000+ files.

03

Resumable Chunked Transfer Engine & WebSocket Stream

Implemented an adaptive chunked sync engine with automatic byte-level resume and exponential backoff retry. Coupled with a persistent WebSocket event channel that streams real-time sync status, transfer speed, and remote file modifications instantaneously across devices.

04

Virtualized Grid Rendering & Smart SQLite Local Cache

Built a memory-efficient virtualized file grid with instant search filtering, folder tree caching in local SQLite, and lazy thumbnail memory recycling to maintain a tiny RAM footprint under 85MB on desktop and mobile.

Technology Stack

Flutter (Desktop & Mobile)Dart Isolates & C++ FFIPlatform Channels (Win32/Obj-C/Kotlin)macOS FSEvents & Windows ShelliOS File Provider & Android SAFSQLite & WebSockets

Project Highlights

  • Unified Flutter codebase with custom native bridges for Windows (Win32), macOS (FSEvents), iOS (File Provider), and Android (SAF)
  • Dart Isolates & background worker threads guaranteeing zero-lag 60/120 FPS UI performance
  • Resumable byte-level chunked upload engine with WebSocket real-time progress broadcast
  • Native Taskbar System Tray (Windows) & Menu Bar status widget (macOS) with real-time speed meter
  • Multi-tier storage quota management (up to 500GB+) integrated with telecom VAS package billing