• 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(2): URL Access performance tuning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re(2): URL Access performance tuning


  • Subject: Re(2): URL Access performance tuning
  • From: Jens Bauer <email@hidden>
  • Date: Tue, 21 May 2002 16:23:39 +0200

Hi Quinn and Bryan,

On Tue, 21 May, 2002, Quinn <email@hidden> wrote:

>At 15:18 -0600 14/5/02, Pietrzak, Bryan wrote:
>>I'm using the URLAccess APIs in Carbon to download 1-n files from a remote
>>HTTP server.
{snip}
>>Basically, I
>>guess I'm asking, how "bad" is it for me to use URL Access to download a
>>bunch of files? Am I burning an extraordinary number of CPU cycles and
>>wasting network resources?
>
>I'll take a pragmatic approach and ask "How often does the user do
>this?" If they only do it once a month for software updates, who
>cares?

Excuse me for breaking in. ;)
I would say that if you use URLAccess, and Mac OS X gets optimized, this
would cause your application to be "optimized for free".
-This is one of the reasons, that I try using the system's frameworks as
much as possible, rather than writing my own.

Since you're downloading from a HTTP server anyway, I would probably put
my 3 cents on the URL-Access, especially if you need to have your
software ready in no time.
You'll always be able to see later, if you don't really think the
performance is good enough, *then* spend some time on finding out how you
can download a file via HTTP. (It isn't too complicated writing the code
to receive the data, but you will have to deal with the protocol itself,
such as "content-encoding: chopped", (or was it chunked ? :)), etc.)


Love,
Jens

--
Jens Bauer, Faster Software.
-Let's make the World better, shall we ?
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: URL Access performance tuning (From: Quinn <email@hidden>)

  • Prev by Date: Re: Forcing DHCP release/renewal? (OS X)
  • Next by Date: Re: Quinn's ICconfig: setting News Server
  • Previous by thread: Re: URL Access performance tuning
  • Next by thread: Re: URL Access performance tuning
  • Index(es):
    • Date
    • Thread