Am 28.12.2007 um 13:26 schrieb James Nugent:

When testing the app via direct connect I get the data down in about 3 Minutes, parsing and all. More than 10 Minutes for reading in the exact same data and do the exact same parsing???? How can that be, given that I have a ISDN-connection and the webserver the deployed App lives on has a much better connection?


Is the development machine significantly faster than the web server? I'd have thought that most of the time would be spend parsing rather than downloading.

I do not know. The development machine is a Intel mac mini, cheapest version. The WebServer is a linux which should be as good as the mac mini, I think...

I have a lot of logging going on as I had a Long response which somehow could not deal properly with the download and went into an infinite loop - don't ask me why...

I'm rather sure it is not the parsing that takes so long. I parse on each request only as much of the XML as I have to show and that means only a small part of the XML gets parsed at once.

But he logs, when he has the data available in a String var and this is the bottle neck, as far as I can see. So perhaps the reading in is the real problem as he has to process each line and there are many lines....if one downloads that XML into firefoy and saves it from there to an pdf, one gets 256 pages...





James
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/u.hoffmann% 40tt-pixelmind.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to