[nycphp-talk] file_get_contents() with a context
Donald J. Organ IV
dorgan at donaldorgan.com
Sun Aug 15 00:16:21 EDT 2010
The cause for the increase in speed is PHP was not pipelining the requests so it was waiting for the connection to timeout..which was what was causing it to appear that the file was taking longer to download.
I ended up using http://code.google.com/p/php-pipeline Which gives me the ability to pipeline on multiple connections.
Now I just need to figure out how to log the number of connections over a given number of time to make sure it's actually working
More information about the talk