Hacker News new | ask | show | jobs
by VeejayRampay 4230 days ago
Now they only need to add a "commitToServer()" feature that uses some diff since the last commit and we got a stew going.

That tech is promising though, I like that we're opening new possibilities all the time.

2 comments

The problem there, however, is you don't have distributed transactions and locks/leases. You would need to build that into the server itself, which is obviously out of scope for this project.

If the server changes, as it could easily do if you had two separate browsers open (say, mobile safari and your desktop), you'd need quite a bit conflict resolution code.

We did this with sqlite about six years back and got awesome performance results. It was a system called SyncKit. Still would have preferred relational storage in the browser, but glad to see at least we're moving toward something.

http://edwardbenson.com/papers/www2010-synckit.pdf