S
S
sigod2014-04-26 12:31:07
C++ / C#
sigod, 2014-04-26 12:31:07

How to store versioned data?

It is necessary to organize a service very similar to VCS. You need to be able to commit files, get the content of them, lists of files / directories, create “branches” (only create, merging is not necessary), and so on. All this for many users.
The data will be both text (XML) and binary (InDesign files). 100-200 GB may well be typed.
On top of all this will be a web interface.
Scaling is not a question, one server will be enough.
What is the best way to organize such storage? Base on top of any technology? Database? Or is it worth writing your own solution?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Shurygin, 2014-04-26
@duderu

Realistically, it's probably easier to wrap it in a local git repository and use it as a layer and that's it :-)
Why do you need to write a bicycle in this situation? git works very fast, it is written quite optimally in terms of the final data storage.
I would choose just api level + web access over any satisfying versioned repository

C
cigan, 2014-05-31
@cigan

I would definitely use the file system as a file storage and a DBMS for storing versions, branches, etc. Because large binary files are involved, I would not use any VCS - they are text-oriented.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question