From: "jamesmikedupont@googlemail.com" <jamesmikedupont@googlemail.com>
To: git <git@vger.kernel.org>
Subject: Re: How do you best store structured data in git repositories?
Date: Fri, 4 Dec 2009 09:00:47 +0100 [thread overview]
Message-ID: <ee9cc730912040000u76337d40n4fd8e0eda7ca6bb4@mail.gmail.com> (raw)
In-Reply-To: <32541b130912031745i60dc918dk3e510ef1a3b28526@mail.gmail.com>
On Thu, Dec 3, 2009 at 7:14 PM, David Aguilar <davvid@gmail.com> wrote:
> JSON's not too bad for data structures and is known to
> be friendly to XML expats.
>
> http://json.org/
I am currently working on two projects in this direction :
1. mediawiki on git, using mediawiki markup files. I apologise that I
have not made progress on that lately, because I have had inspiration
on my older project
2. the gcc rdf introspector, storage of the files in rdf. It is
working now with a mysql database, using the librdf mysql driver, and
running on a catalyst framework using jquery/jstree on the front end.
None of those formats are perfect, the sizing of the files is
important. I am returning individual nodes in json on the cataylst
server and that works to deliver the AST nodes from the compiler to
the jstree front end. But these fetches to the front end should be
longer and contain direct components of the fetched node. I think that
a cluster of nodes should be pulled together to make a more optimal
system.
here is just my two cents:
if you are using a distributed git data repository as your central
repository, then think about a database page. Imagine that you would have
pages of data being retrieved and compared.
Would it not make sense to split your pages something that would be swapped
into memory directly, or with very little parsing, and then used?
So, in effect, you would design the sizing of the pages and the page
contents around the usage model, since git is a low level storage system.
I dont know what would be available if some database manager system like
mysql or postgres could be taught to store table pages in git.
just some ideas,
mike
next prev parent reply other threads:[~2009-12-04 8:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-02 21:08 How do you best store structured data in git repositories? Sebastian Setzer
2009-12-02 21:17 ` Avery Pennarun
2009-12-04 0:14 ` David Aguilar
2009-12-04 1:45 ` Avery Pennarun
2009-12-04 8:00 ` jamesmikedupont [this message]
2009-12-07 21:20 ` Sebastian Setzer
2009-12-08 7:14 ` David Aguilar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ee9cc730912040000u76337d40n4fd8e0eda7ca6bb4@mail.gmail.com \
--to=jamesmikedupont@googlemail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).