The engineering notebook
RSS feed#sync
Articles, practical guides, and engineering notes on sync.
By Ashish Bhakhand 108 published articles
Explore the articles
7 articles
Reset filtersBackground Health Synchronization on iOS
Combine HealthKit delivery, background tasks, foreground recovery, and idempotent writes without assuming exact execution.
HealthKit Synchronization Beyond Reading Samples
Design authorization, anchored queries, source handling, daily aggregation, and deduplication as one reliable pipeline.
Designing Stable Health Sync Identities Across Android Devices
Prevent duplicate history by deriving server identity from semantic data instead of installation-local rows.
Building an iOS Sync Engine with Cursors and Tombstones
Pull incremental changes, preserve deletions, and advance sync progress only after local commits succeed.
Reliable Background Health Sync with WorkManager
Schedule constrained, resumable Android work while keeping foreground refresh and worker execution on one coordinator.
Health Connect Synchronization Beyond Permission Requests
Handle availability, per-type permissions, incremental reads, source identity, and normalized daily data.
SwiftData in an Offline-First Application
Use local persistence as a responsive product capability with explicit freshness, sync, and conflict rules.