Sync Without Conflicts | How Last-Write-Wins Keeps Your Notes Simple

    7 min read
    ByDaniel AKraftwire Software
    Illustration for Sync Without Conflicts | How Last-Write-Wins Keeps Your Notes Simple

    Frequently asked questions

    What is last-write-wins in note syncing?
    Last-Write-Wins (LWW) is a conflict resolution strategy where the sync engine compares the timestamps of two competing versions of a note. The version with the most recent timestamp is saved as the truth, while the older version is overwritten. This allows for fast, automatic synchronization across multiple devices without requiring the user to manually merge changes or manage duplicate files.
    Is last-write-wins better than manual merging?
    LWW is highly reliable for personal use because it is rare for one person to edit the same note on two devices simultaneously. It prevents the clutter of 'conflict files' and works perfectly with end-to-end encryption. While there is a small risk of losing an update if edits occur seconds apart on different offline devices, the gain in workflow speed usually outweighs this risk.
    How does sync work when I am offline?
    Offline-first apps like SimplyBoard store notes in a local database (IndexedDB). When you edit a note offline, it is timestamped locally. Once you reconnect to the internet, the sync engine compares these local timestamps against the server version. Using LWW, it pushes your latest offline edits to the cloud, ensuring your other devices receive the most recent updates immediately.
    Does Standard Notes use last-write-wins?
    Standard Notes uses high-level encryption to protect data, but sync behavior can vary based on the specific editor used. Generally, privacy-focused apps prefer deterministic sync methods like LWW because they allow the server to resolve conflicts between encrypted blobs of data without needing to 'see' the text inside, maintaining the user's zero-knowledge privacy.
    How does Apple Notes handle multi-device sync?
    Apple Notes uses a proprietary synchronization engine via iCloud. While it generally handles conflicts smoothly by merging changes at a character level, it is not a zero-knowledge system by default. For users seeking higher privacy, an app that uses client-side encryption (like AES-256-GCM) alongside LWW sync offers a more secure alternative for sensitive information.
    How do I stop getting conflicted copy files in my notes?
    A conflict file is a duplicate document created when a sync service (like Dropbox or iCloud) cannot decide which version of a file is correct. This happens often with file-based apps like Obsidian. You can avoid them by using a note-taking app with a built-in database and a Last-Write-Wins resolution policy, which handles these decisions automatically in the background.

    Start writing with true privacy

    Get Started Free

    Related reading