Matthieu Cormier
2010-01-26 15:40:57 UTC
I've been seeing a lot about syncing with dropbox or mobile me, etc on
this list, so I thought I'd post a blog entry a recall reading a
couple of years ago.
[Disclaimer -- I personally do not have any experience writing syncing
kode and cannot vouch for the validity of this article. However, it
is well written and "sounds right".]
Basically the entry sums up to **Syncing is harder than you think**.
Here is an excerpt from the posting. I encourage you to read the full posting.
"Any bug, in any client, can potentially have unwelcome effects on all
of the other clients. That’s the whole point of syncing after all.
When a change is made, it is reflected everywhere. If that happens to
be the wrong change, then it will mess with all of your data. Oops.
You can think of the Truth Store as a well, from which every client
drinks. And any badly behaved client can easily, and inevitably always
accidentally, pour poison into the well.
Classic bugs are duplicating all of your data (because the client
thinks Sync Services told it to send it all the data to the Truth
again, and then the Truth thinks – I already know about this record,
the client must mean that I should create another, identical one), or
deleting all your data (this is also surprisingly easy to do), but
there’s all kinds of fun and madness in between.
There are very very few sync clients that can’t be caught out by some
unusual combination of data or events."
http://www.mildmanneredindustries.com/blog/?p=148
M@ -- http://www.preenandprune.com
this list, so I thought I'd post a blog entry a recall reading a
couple of years ago.
[Disclaimer -- I personally do not have any experience writing syncing
kode and cannot vouch for the validity of this article. However, it
is well written and "sounds right".]
Basically the entry sums up to **Syncing is harder than you think**.
Here is an excerpt from the posting. I encourage you to read the full posting.
"Any bug, in any client, can potentially have unwelcome effects on all
of the other clients. That’s the whole point of syncing after all.
When a change is made, it is reflected everywhere. If that happens to
be the wrong change, then it will mess with all of your data. Oops.
You can think of the Truth Store as a well, from which every client
drinks. And any badly behaved client can easily, and inevitably always
accidentally, pour poison into the well.
Classic bugs are duplicating all of your data (because the client
thinks Sync Services told it to send it all the data to the Truth
again, and then the Truth thinks – I already know about this record,
the client must mean that I should create another, identical one), or
deleting all your data (this is also surprisingly easy to do), but
there’s all kinds of fun and madness in between.
There are very very few sync clients that can’t be caught out by some
unusual combination of data or events."
http://www.mildmanneredindustries.com/blog/?p=148
M@ -- http://www.preenandprune.com