• 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: Does CFSocket use efficient polling?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does CFSocket use efficient polling?


  • Subject: Re: Does CFSocket use efficient polling?
  • From: Dave Camp <email@hidden>
  • Date: Mon, 16 Feb 2009 13:09:35 -0800

This is excellent news.

Could you explain in a bit more detail the "30 seconds on the final bit of data" part? Under what circumstances might this occur?

Thanks,
Dave

On Feb 16, 2009, at 12:06 PM, Mark Pauley wrote:

Wait, what OS are you seeing this on? We should have a much more efficient CPU footprint on recent Leopard updates. We actually tuned the socket callback with a low-watermark optimization. Turns out we were getting a ton of callbacks because our socket buffer was a bit too small, downloading (even on gig-e) should be much nicer now. The catch is that the NSURLDownload code actually exercises some code that NSURLConnection doesn't, and you pay for the decreased CPU load with possible latency (almost guaranteed 30 seconds on the final bit of data I think). This works great for things like streaming video and downloading.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Does CFSocket use efficient polling?
      • From: Mark Pauley <email@hidden>
References: 
 >Re: Does CFSocket use efficient polling? (From: Scott Ribe <email@hidden>)
 >Re: Does CFSocket use efficient polling? (From: Josh Graessley <email@hidden>)
 >Re: Does CFSocket use efficient polling? (From: Ladd Van Tol <email@hidden>)
 >Re: Does CFSocket use efficient polling? (From: Mark Pauley <email@hidden>)
 >Re: Does CFSocket use efficient polling? (From: Ladd Van Tol <email@hidden>)
 >Re: Does CFSocket use efficient polling? (From: Mark Pauley <email@hidden>)

  • Prev by Date: Re: Does CFSocket use efficient polling?
  • Next by Date: Re: Does CFSocket use efficient polling?
  • Previous by thread: Re: Does CFSocket use efficient polling?
  • Next by thread: Re: Does CFSocket use efficient polling?
  • Index(es):
    • Date
    • Thread