Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Im working on something similar. Mine is a RFID scanner kiosk that uses a local db when offline. How do you manage sync conflicts?


In my workflow, I PULL when they initial get online and MERGE non conflicting changes and ACCEPT the changes with the latest timestamp if there is a conflict.

It's not perfect and people still complain, to do it cleanly I would need to prompt the user which change to take but I haven't figured out a clean way to do that yet.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: