top | item 43185803

(no title)

ofriw | 1 year ago

Doing concurrent editing AND supporting offline operation?

discuss

order

CyberDildonics|1 year ago

What do you mean by "offline operation"? Which part is non-trivial?

ofriw|1 year ago

Your server/network goes down, but you still want to maintain availability and let your users view and manipulate their data. So now users make edits while offline, and when they come back online you discover they made edits to the same rows in the DB. Now what do you do?

The problem really is about concurrency control - a DB creates a single source of truth so it can be either on or off. But with GoatDB we have multiple sources of truth which are equally valid, and a way to merge their states after the fact.

Think about what Git does for code - if GitHub somehow lost all their data, every dev in the world still has a valid copy and can safely restore GitHub's state. GoatDB does the same but for your app's data rather than source code