Is there an ideal number of network operations for iPhone OS?


Is there an ideal number of network operations for iPhone OS?



I'm using NSOperation and NSOperationQueue to handle all of my networking threads so my interface can remain responsive while handling data transfer over the internet. Currently, I've got my operation queue set to a maximum concurrent operation count of 5, and it seems to work well.

I'm wondering, though, if there is a more ideal number of concurrent network operations that would best maximize the available resources without choking the hardware. Are there any recommendations, or steps I might take to measure and find out for myself?


Facebook iphone connection

1:

Is anyone testing Mono-Touch? [closed]
Given the iPhone (currently) runs a single core, I would guess 5 is around the right number.. How to intercept text from the keyboard and format it before it show in the cell? But the only way to be sure would be to instrument it and find out what the usage looks like (CPU, Memory and Network). Getting an iPhone app's product name at runtime? Netjob usage you could receive based on the data transferred - although its hard to know what a reaspnable usage would be. declaring global variables in iPhone project I'm not sure if it is possible to receive CPU/Memory statistics from the iPhone.. Where's the difference between setObject:forKey: and setValue:forKey: in NSMutableDictionary? If you are doing large transfers, then more connections probably wont guidance much. Why is my UIImageView blurred? If you are doing lots of small transfers, then more connections will guidance job around the back and forth of setting up and tearing down the connection.. SHowing Activity Indicator View Using Thread Shows This Error in gdb?


62 out of 100 based on 27 user ratings 352 reviews

*