users@fi.java.net

Re: Non-FI performance problems

From: Mark Swanson <mark_at_ScheduleWorld.com>
Date: Thu, 19 Jan 2006 13:58:59 -0500

Jimmy Zhang wrote:
> Have you heard of the latest XML processing models called VTD-XML

I haven't.
Cursory glance: memory dom vs vtd chart is missing the vertical axis
definition.

If I understand correctly I think this could complement FI nicely - FI
would handle the transmission and VTD would provide the in-memory random
access document facilities.

Random access... that's quite an impressive feat - if the charts are
accurate. I find the performance a bit too good to be true considering
that VTD is doing work (indexing) at the same time as reading the stream
while xpp is purely stream reading. I've been through the xpp code and
submitted a fix or two so I'm making more than just a guess at this. I'm
sure this would be explained in the benchmark code.

Random access... my mind is still thinking of the possibilities.
XmlBeans (or XmL Schema tools like it) might be significantly faster and
memory efficient for a lot of use cases if the XmlObjects didn't have to
actually create objects with attributes. Only get/set methods would be
required. If the random access mechanism was sufficiently fast enough...

Hopefully I haven't misunderstood the VTD/FI connection. Please correct
me if I misunderstood.

Cheers.

-- 
Free replacement for Exchange and Outlook (Contacts and Calendar)
http://www.ScheduleWorld.com/
WAP: http://www.ScheduleWorld.com/sw/WAPToday?id=4000&tz=EST
WebDAV: http://www.ScheduleWorld.com/sw/webDAVDir/4000.ics
VFREEBUSY: http://www.ScheduleWorld.com/sw/freebusy/4000.ifb