News for hackers. Stuff that matters.
Re:Uses of git by alexchamberlain on Thursday February 09, 2012 @11:38AM (#3571753)
The blog states that git can be used as a database with version control. Does anyone know of a more optimised (document-oriented) database with version control?

If not, is there an interest for one?

Re:Uses of git by throwaway191 on Thursday February 09, 2012 @12:02PM (#3571864)
Could you elaborate on what you mean by "document oriented db with version control"? Couch stores revision identifiers with every document ID, though old versions are subject to deletion whenever DB compaction occurs...
Re:Uses of git by alexchamberlain on Thursday February 09, 2012 @12:06PM (#3571878)
Essentially, objects have the ability to be rolled back, forward etc. Support for messages attached to commits and transactional commits would be nice!

An extensible user collection would also be nice, so app users are database users and vice versa.

Re:Uses of git by kijin on Thursday February 09, 2012 @01:27PM (#3572286)
I'm more interested in the "distributed" part of the story. Version control can be fitted into any database with a bit of hacking, but a distributed ACID database where you can commit to any node and merge with any other node sounds like a really interesting concept.

Especially when combined with the fact that it is extremely difficult to forge git history without getting noticed, people could use something like git as a reliable, scalable, and censorship-resistant platform for data sharing and storage.

Re:Uses of git by alexchamberlain on Thursday February 09, 2012 @01:40PM (#3572370)
I agree, but alternatively, we could study git and the lessons learnt there and design a distributable ACID database with version controlled data, extensible user collections and the performance of a more traditional database.
Re:Uses of git by ericsink on Thursday February 09, 2012 @12:29PM (#3572009)
Veracity has a database feature which might be what you are envisioning. (Disclosure: I am one of the developers of Veracity). But I would not describe it as document-oriented. It versions a collection of records with fields in the same way that regular version control manages a collection of directories and files, with support for history and changesets and push and pull.
Re:Uses of git by prostoalex on Thursday February 09, 2012 @12:45PM (#3572081)
Re:Uses of git by alexchamberlain on Thursday February 09, 2012 @12:46PM (#3572090)
As pointed out below, versions can be garbaged by an efficient Database administrator.
Re:Uses of git by vectorjohn on Friday February 10, 2012 @02:42AM (#3574921)
Couchdb keeps old versions of documents. And it is document oriented. So there's that.
Re:Uses of git by alexchamberlain on Friday February 10, 2012 @02:53AM (#3574944)
We've dismissed CouchDB a couple of times...
Re:Uses of git by vectorjohn on Saturday February 11, 2012 @03:05AM (#3578829)
No we have not. No need to be an ass.
Re:Uses of git by alexchamberlain on Saturday February 11, 2012 @04:29AM (#3578930)
I'm not a donkey.

We have dismissed it as the versions are deleted during compaction and aren't replicated to other nodes. Hence, dismissed.