Skip to Content.
Sympa Menu

xom-interest - re: re: [XOM-interest] Serializing objects that contain an instance of nu.xom.Document, part II

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Brian Sam-Bodden" <bsbodden AT integrallis.com>
  • To: elharo AT metalab.unc.edu
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: re: re: [XOM-interest] Serializing objects that contain an instance of nu.xom.Document, part II
  • Date: Thu, 19 Feb 2004 19:18:31 -0800 (PST)

Rusty,
I haven't done a pound per pound comparison of
marshalling versus parsing. But in most of our
scenarios the object is already in memory so there is
no marshalling involved and we get it by reference. The
problem is that to get it to some of these caches it
needs to be serializable. Even if it gets to go through
a round of marshalling/demarshalling to get to the
cache it is still better than for each client that
accesses the object to have to parse the XML again.
This of course is more relevant the as the number of
clients that need to get to the cached instance
increase.


On Thu, 19 Feb 2004 18:33:07 -0500, Elliotte Rusty
Harold wrote:

> Content-Type: text/plain; charset="us-ascii" ;
format="flowed"
> Message-Id: <p06010207bc5af8020b43@[192.168.254.4]>
> Subject: re: re: [XOM-interest] Serializing objects
that contain an
> instance
> of nu.xom.Document, part II
> In-Reply-To:
<20040219135538.26602.h022.c001.wm AT mail.integrallis.com.criticalpath.net>
> X-Received: 19 Feb 2004 23:54:38 GMT
> From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
> References:
<20040219135538.26602.h022.c001.wm AT mail.integrallis.com.criticalpath.net>
> Delivered-To: integrallis.com%bsbodden AT integrallis.com
> Date: Thu, 19 Feb 2004 18:33:07 -0500
> Return-Path: <elharo AT metalab.unc.edu>
> Received: (cpmta 25619 invoked from network); 19 Feb
2004 15:54:38 -0800
> Received: from 216.254.0.205 (HELO
mail5.speakeasy.net)
> by smtp.inbound.c001.snv.cp.net (209.228.32.108)
with SMTP; 19 Feb 2004 15:54:38 -0800
> Received: (qmail 18200 invoked from network); 19 Feb
2004 23:54:36 -0000
> Received: from dsl254-085-072.nyc1.dsl.speakeasy.net
(HELO [192.168.254.4]) ([216.254.85.72])
> (envelope-sender <elharo AT metalab.unc.edu>)
> by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP
> for <bsbodden AT integrallis.com>; 19 Feb 2004 23:54:36
-0000
> MIME-Version: 1.0
> To: "Brian Sam-Bodden" <bsbodden AT integrallis.com>
> X-Sender: elharo AT mail.ibiblio.org
> Cc: xom-interest AT lists.ibiblio.org
>
> Have you actually profiled the overhead of parsing
> compared to the
> overhead of marshalling and unmarshalling distributed
> objects? The
> results might surprise you.
>
>
> --
>
> Elliotte Rusty Harold
> elharo AT metalab.unc.edu
> Effective XML (Addison-Wesley, 2003)
> http://www.cafeconleche.org/books/effectivexml
>
>
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA

Brian Sam-Bodden
President & Chief Software Architect
Integrallis Software, LLC.
http://www.integrallis.com




Archive powered by MHonArc 2.6.24.

Top of Page