What conflict resolution strategies would you use during online sync?
Ask by ICSM Computer
Updated 10 Jul 2025
What conflict resolution strategies would you use during online sync (e.g., server-wins vs client-wins)?
When implementing conflict resolution strategies during online sync, you typically choose based on the nature of your application, the data importance, and user expectations. Here are the most common strategies, with pros/cons and when to use them:
1. Server-Wins (Last-Write-Wins by server)
2. Client-Wins
3. Last-Write-Wins (Timestamp-Based)
4. Manual Merge (User-Assisted)
5. Field-Level Merge
6. Operational Transformation / CRDTs
Recommended Hybrid Approach
In many real-world apps, a hybrid approach is best: