Hacker News new | comments | show | ask | jobs | submit login
Show HN: Xstatic docs – like Google Docs inside an S3 bucket (xstatic.site)
56 points by ronilan on Oct 31, 2017 | hide | past | web | favorite | 6 comments

For anyone interested, and for the record, this is my 2016 summer of code project. Experimental obviously.

There is some additional info in the about page: http://public.docs.xstatic.site/about.html

And in this doc: http://docs.xstatic.site/markdown_db86ac26-f232-4400-a544-d5...

so how does it deal with eventually consistency.

updating a document in S3 is bad idea... that said the tech is interesting.

I just opened a document in two different browser windows.

Started editing in one. Changes did not appear in the other.

Pressed Ctrl+S in both windows, and it seems the last one wins. So basically the first one loses their work.

That's concurrency, which isn't really surprising :)

But probably when S3 is busy, you can edit, refresh and not see your changes.

Google cloud storage has strong consistency. And it had an s3 like API.

[1] https://cloud.google.com/storage/docs/consistency

[2] https://cloud.google.com/storage/docs/interoperability

Bummer can't be accessed in mainland China.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact