Does using lot of NSURLConnection blocks the UI/Main thread or does it slows down the responsive-ness of the app???
I've around max of 16 connections running at a time.
The app becomes non-responsive after some time.
One more doubt.. Do asynchronous NSURLConnection run on different thread???
Asked
Active
Viewed 177 times
0

Amresh Kumar
- 1,445
- 17
- 30
-
Check this answer: http://stackoverflow.com/questions/3364021/does-nsurlconnection-block-the-main-thread – Rui Peres Jan 04 '12 at 07:30
-
@JackyBoy thats true, but does it apply for multiple connections running at the same time?? – Amresh Kumar Jan 04 '12 at 07:38
-
Yes it will. Unless you do it in an asynchronous way. – Rui Peres Jan 04 '12 at 07:43
-
@JackyBoy everything is asynchronous, but still i'm facing d problem – Amresh Kumar Jan 04 '12 at 07:47
-
Further investigation should be made. You can be facing other kind of problems. Try making only 1 connection in an asynchronous way. – Rui Peres Jan 04 '12 at 07:56
1 Answers
0
I haven't found that in the documentation but i've already had problems running more than 4 NSURLConnection asynchronous in a project. Try to reduce the number to 2-3 and if not possible use NSOperation with NSOperationQueue.

Stefan Ticu
- 2,093
- 1
- 12
- 21