←back to thread

578 points smusamashah | 3 comments | | HN request time: 0.207s | source
Show context
huijzer ◴[] No.42463359[source]
I really think we are as developers underusing setups like this. If you could somehow figure out a simple but effective sync between devices then that would be able to cover many use-cases.

Maybe we just need an sqlite with better support for replicas? Then people have one tiny server with a bunch of sqlite’s to which the apps can sync?

replies(10): >>42463533 #>>42463581 #>>42463651 #>>42463678 #>>42464303 #>>42464442 #>>42464633 #>>42469937 #>>42476545 #>>42479191 #
1. summermusic ◴[] No.42463581[source]
This sounds like a job for WebDAV!

https://en.wikipedia.org/wiki/WebDAV

replies(2): >>42464188 #>>42466335 #
2. rpdillon ◴[] No.42464188[source]
I'm very interested in this area and this is exactly the approach that I'm pursuing.
3. mmcdermott ◴[] No.42466335[source]
One major failing of WebDAV for these use cases is that the spec requires you to `PUT` the whole resource/file in order to save changes. This isn't too bad when the individual files are small, but as your single file apps grow, this means a lot of data transfer without the comforts of differential uploads.