From: "Tiziano Müller" <dev-zero@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: [packagekit] Inviting you to project "PackageMap"
Date: Wed, 17 Jun 2009 14:08:26 +0200 [thread overview]
Message-ID: <1245240506.6788.5.camel@localhost> (raw)
In-Reply-To: <4A3225F0.6070800@hartwork.org>
[-- Attachment #1.1: Type: text/plain, Size: 2168 bytes --]
Am Freitag, den 12.06.2009, 11:54 +0200 schrieb Sebastian Pipping:
> Richard Hughes wrote:
> > I'm slightly worried about it being called a service. Is it going to
> > be a new process that just does the mapping or is this a bad choice of
> > words? If it is a new process then I'm not sure such a thing will
> > catch on.
>
> I'm not yet sure about how a mapper will keep it's data
> fresh as the use of it is dependent on that.
> Ignore my "service" for now.
>
>
> > I'm also worried that a package manager has to read in and parse
> > thousands of small files.
>
> While you mention "package manager" - with the current concept
> the data will not be precise enough for use with a package manager.
>
>
> > Why did you decide to write each project as
> > a single xml file?
>
> - The other 99% of the database stay valid XML if a single
> file is invalid
>
> - To better fit the version controlled environment
>
>
> > Parsing and reading 10,000 files (in multiple directories) might take
> > a few seconds, and would have to be copied into memory (few Mb) to
> > query quickly.
>
> Correct.
>
>
> > Which has to be invalidated if any of the files or
> > directories change. Why didn't you just put them in a sqlite database
> > that can be queried in a few ms, without dragging in an xml parser?
> > Also 10,000 files take up way more space (and takes longer to install
> > and update) than a single database file.
>
> I like your idea about sqlite. Maybe keeping the data to edit XML
> and query and sqlite export snapshot is something to try.
Why not use a XML database like dbxml?
Maybe you could just specify the XML files as storage and then dbxml
would do the rest.
>
>
> > XML might be
> > useful for storing the data, but not for querying.
>
> Good point.
Using XPath and XQuery you can do queries on XML as well.
Cheers,
Tiziano
--
Tiziano Müller
Gentoo Linux Developer, Council Member
Areas of responsibility:
Samba, PostgreSQL, CPP, Python, sysadmin, GLEP Editor
E-Mail : dev-zero@gentoo.org
GnuPG FP : F327 283A E769 2E36 18D5 4DE2 1B05 6A63 AE9C 1E30
[-- Attachment #1.2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3551 bytes --]
next prev parent reply other threads:[~2009-06-17 12:08 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-12 7:42 [gentoo-dev] Inviting you to project "PackageMap" Sebastian Pipping
[not found] ` <15e53e180906120130md68cd94nba61fa5560c73eb4@mail.gmail.com>
2009-06-12 9:54 ` [gentoo-dev] Re: [packagekit] " Sebastian Pipping
2009-06-17 12:08 ` Tiziano Müller [this message]
2009-06-12 13:00 ` [gentoo-dev] " Steven J Long
2009-06-13 3:55 ` Sebastian Pipping
2009-07-11 21:38 ` [gentoo-dev] " Steven J Long
2009-06-12 18:27 ` [gentoo-dev] " Petteri Räty
2009-06-12 21:43 ` [packagekit] " Sebastian Pipping
2009-06-13 15:53 ` Petteri Räty
2009-06-13 19:03 ` Sebastian Pipping
2009-06-13 19:16 ` Petteri Räty
2009-06-15 13:52 ` Robert Buchholz
2009-06-15 17:04 ` Sebastian Pipping
2009-06-15 18:24 ` Robert Buchholz
2009-06-15 19:13 ` Sebastian Pipping
2009-06-15 20:27 ` Petteri Räty
2009-06-17 0:34 ` Sebastian Pipping
2009-06-17 9:37 ` Marijn Schouten (hkBst)
2009-06-18 0:09 ` Sebastian Pipping
2009-06-18 9:07 ` Marijn Schouten (hkBst)
2009-06-19 18:53 ` Sebastian Pipping
[not found] ` <1245295820.11471.223.camel@chianamo.mine.nu>
2009-06-18 22:33 ` Sebastian Pipping
[not found] ` <1245382383.14805.281.camel@chianamo.mine.nu>
2009-06-19 17:36 ` Sebastian Pipping
2009-06-19 21:47 ` Sebastian Pipping
2009-06-20 13:16 ` Petteri Räty
2009-06-20 17:28 ` Sebastian Pipping
2009-07-14 16:49 ` Sebastian Pipping
2009-07-20 2:03 ` [GLEP] CPE names in metadata (was Re: [gentoo-dev] Inviting you to project "PackageMap") Sebastian Pipping
2009-06-15 21:27 ` [gentoo-dev] Re: [packagekit] Inviting you to project "PackageMap" Christian Faulhammer
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=1245240506.6788.5.camel@localhost \
--to=dev-zero@gentoo.org \
--cc=gentoo-dev@lists.gentoo.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