OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Problem parsing XML file with Xerces-J

[ Lists Home | Date Index | Thread Index ]

On Mon, 4 Apr 2005 5:00 am, Midsummer Sun wrote:
> Hope this question is not off topic..
> I have successfully written my program after solving the problem I
> posted here. It achieves the result, but the performance is a bit
> slow.
> I need to enhance the performance..

Oh, I see...

try using persistant http connections... that is, don't open/close
the connection for every node.

that way the connections will stay open between loops...

At the moment you look like you are opening and closing one connection for 
each node.

Just leave all the connections open... 500 is not a lot....

try using some sort of list mechanism to manage the connections.

I think I can see why it's slow... you need to think a bit "bigger"


Computergrid : The ones with the most connections win.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS