After a year, I finally got to writing a test harness to test the download performance of streaming downloads.
Here's the setup: use iPhone 4 to download a large file over a Wi-Fi connection * with asynchronous NSURLConnection . Periodically download downloaded data to disk (atomically) when the amount of downloaded data exceeds a threshold value.
And the results: It does not matter. The difference in performance between the 32 kB and 512 kB blocks (and several sizes between them) is less than the difference between runs using the same channel size. The file download time, as expected, is almost entirely related to the network latency.
* Average throughput was about 8 Mbps.
source share