• 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
Maximum simultaneous NSURLConnections?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Maximum simultaneous NSURLConnections?


  • Subject: Maximum simultaneous NSURLConnections?
  • From: John Pannell <email@hidden>
  • Date: Wed, 15 Mar 2006 15:50:17 -0700

Hi all-

I know there must be an answer to this, but I've yet to find it... is there a way to determine the maximum number of simultaneous NSURLConnections an application can keep open at one time? Is it akin to the max number of UNIX file descriptors? Is the max my app can create impacted by NSURLConnections active in other apps running at the same time? Are there any recommendations for determining how many to open at once?

What I'm trying to achieve is internal load balancing between the resource identifying, html parsing, and resource fetching behaviors or my application. If I knew how many total connections I could/ should keep open at once, I could then distribute them appropriately based on the size of the queued up requests for each behavior. It seems the OS is happy to queue things up no matter how many connections I allocate, but I would prefer to prioritize internally rather than make all requests stand in the same line.

Any light that can be shed on this is much appreciated!

John



John Pannell
Positive Spin Media
http://www.positivespinmedia.com

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


  • Follow-Ups:
    • Re: Maximum simultaneous NSURLConnections?
      • From: Greg Herlihy <email@hidden>
    • Re: Maximum simultaneous NSURLConnections?
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: Command-. And sheets
  • Next by Date: Hyperlink in an NSTableView
  • Previous by thread: Re: Command-. And sheets
  • Next by thread: Re: Maximum simultaneous NSURLConnections?
  • Index(es):
    • Date
    • Thread