• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Difference reading in from URL in direct connect/deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Difference reading in from URL in direct connect/deployment


  • Subject: Re: Difference reading in from URL in direct connect/deployment
  • From: ute Hoffmann <email@hidden>
  • Date: Fri, 28 Dec 2007 13:57:38 +0100


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@hidden)
Help/Unsubscribe/Update your Subscription:
40tt-pixelmind.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Difference reading in from URL in direct connect/deployment
      • From: Kieran Kelleher <email@hidden>
References: 
 >Difference reading in from URL in direct connect/deployment (From: ute Hoffmann <email@hidden>)
 >Re: Difference reading in from URL in direct connect/deployment (From: James Nugent <email@hidden>)

  • Prev by Date: Re: Difference reading in from URL in direct connect/deployment
  • Next by Date: Re: Difference reading in from URL in direct connect/deployment
  • Previous by thread: Re: Difference reading in from URL in direct connect/deployment
  • Next by thread: Re: Difference reading in from URL in direct connect/deployment
  • Index(es):
    • Date
    • Thread