xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] does XOM offer any performance advantages for me?
- From: Wolfgang Hoschek <whoschek AT lbl.gov>
- To: jason mazzotta <jazzdman AT comcast.net>
- Cc: Elliotte Rusty Harold <elharo AT metalab.unc.edu>, xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] does XOM offer any performance advantages for me?
- Date: Wed, 30 Mar 2005 06:45:36 -0800
Depending on the circumstances, consider embedding Berkeley DB or using another DB product, and having one record per mail. [Many email clients do it that way].
Wolfgang.
On Mar 29, 2005, at 9:02 PM, jason mazzotta wrote:
I'm trying to use an XML document as a database for e-mail messages. The form of the document, shown earlier, separates the e-mail into different mailboxes. The application that uses this XML document stores e-mail, allows the user to move e-mails into different mailboxes, remove an e-mail altogether, or add and remove mailboxes. From what I know about using XML so far, it really is not suited to this purpose. Making changes to an XML document becomes more costly in terms of time and hardware resources as the document becomes larger.---------------------------------------------------------
From reading the XOM website, it hinted at faster performance for dealing with large documents. What I was looking for was a way to minimize resource usage for the tasks described above (e.g. moving an e-mail from one "mailbox" to another). However, as far as I can tell, if you're going to make a random change to an XML document, you must know the form of the entire document to begin with.
Thanks for your time,
Jason Mazzotta
On Mar 29, 2005, at 11:03 PM, Elliotte Rusty Harold wrote:
jason mazzotta wrote:
Thanks for the suggestion, but I'm not quite sure I understand. If you were going to examine things an element at a time, I'm not sure how you'd compare the shape of the document in its current form to the one in memory.
You need to be clearer about what it is you're trying to do. You haven't given anyone enough information yet to decide if what you're attempting is possible or not with XOM.
-- Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ ref=nosim
-
Re: [XOM-interest] does XOM offer any performance advantages for me?
, (continued)
- Re: [XOM-interest] does XOM offer any performance advantages for me?, Wolfgang Hoschek, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
Elliotte Rusty Harold, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
jason mazzotta, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
Elliotte Rusty Harold, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
Wolfgang Hoschek, 03/25/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, Elliotte Rusty Harold, 03/29/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, jason mazzotta, 03/29/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, Elliotte Rusty Harold, 03/29/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, jason mazzotta, 03/30/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, Elliotte Rusty Harold, 03/30/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, Wolfgang Hoschek, 03/30/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
Wolfgang Hoschek, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
Elliotte Rusty Harold, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
jason mazzotta, 03/25/2005
Archive powered by MHonArc 2.6.24.