git - Versioning file system with Amazon S3 as backend -


i'm trying make following work on debian computers , 1 os x laptop.

what have kind of versioning file system uses amazon s3 backend.

what thinking use s3fs (using fuse) mount bucket, make filesystem uses git makes new commit everytime write file (i complete version history x days). mounted folder should show latest version of files. 1 of problems don't know how solve (due lack of experience, assume) synchronise files local folder. of course, download files not bandwidth friendly.

another problem current version of s3fs not seem work macfuse.

further, not happen prevent files becoming corrupt if 2 computers write file @ same time. if have understood correctly, git implements kind of file locking , not depend on file locking of operating system.

what outline make work? files store these way .tex-files , vector images.

i know there solutions in existence (like dropbox) don't closed source.

first, let me not recommend blindly running git on s3. git produces lot of small files during operation; s3 expensive (and slow) when dealing large number of small objects. surmise, s3 has no mechanism locking; eventual consistency makes impossible. , finally, git depends on fast random access objects database; s3 cannot provide this, you'll need local mirror of entire repository in case.

instead, recommend extend existing git http backend push s3. instead of pushing loose files, push single pack file. leverage s3 @ - bulk load of large objects. you'd still have no locking, since decide when push manually, can find other way coordinate things enough.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -