# Offline Syncing - Kevin Galligan

DevFeed: [Offline Syncing - Kevin Galligan](<https://devfeed.tech/articles/offline-syncing-kevin-galligan-38146.md>)

Original publisher: [Read original article](<https://touchlab.co/6654>)

Published: 2012-10-08T03:12:00Z

Content type: tutorial

Language: en

Sources: [Touchlab | Enterprise Mobile Innovation & Development](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [data](<https://devfeed.tech/topics/data.md>), [App](<https://devfeed.tech/topics/app.md>), [Database](<https://devfeed.tech/topics/database.md>), [Data Management](<https://devfeed.tech/topics/data-management.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [apps](<https://devfeed.tech/tags/apps.md>), [code](<https://devfeed.tech/tags/code.md>), [connectivity](<https://devfeed.tech/tags/connectivity.md>), [data](<https://devfeed.tech/tags/data.md>), [data-management](<https://devfeed.tech/tags/data-management.md>), [database](<https://devfeed.tech/tags/database.md>), [errors](<https://devfeed.tech/tags/errors.md>), [offline](<https://devfeed.tech/tags/offline.md>), [server](<https://devfeed.tech/tags/server.md>), [syncing](<https://devfeed.tech/tags/syncing.md>), [thoughts](<https://devfeed.tech/tags/thoughts.md>)

## AI overview

This developer article explains why offline operation with data syncing is difficult, especially for read/write applications. It introduces state-based and command-based syncing, then outlines the implementation tradeoffs of state-based syncing, including error handling, duplicate writes, and entity-level updates.

## Source excerpt

I will prep this post by saying the obvious to anybody who's had to do it. Offline operation with data syncing is difficult. By order of difficulty, apps and data generally go like this: - Offline only. No server communication. - Read-only. Just pull data. - Write-only (or read/write. similar). Pushing data requires dealing with errors and connectivity problems. - Read/write, with offline operation. This scale is not representative.