The Moment You Add Sync, You Have a Distributed System

How do you keep two sets of data in sync? Like, by definition, you now have a distributed system. It could be something simple, syncing files or talking with a remote service somewhere. Maybe it&rsquo;s not a lot of code. Initially, it might not feel like a distributed system, because there&rsquo;s no cluster or consensus protocol. There&rsquo;s no leader election system. You have multiple leaders…