Re: [PHP] network speed

2005-10-14 Thread Brent Baisley
Once you involve the network, there are all sorts of delays that can crop up. Each network hop is going to add a bit of overhead unless every single step along the way has high end routers that can route at line speed. Otherwise the routers are doing a store and forward, which means they wa

Re: [PHP] network speed

2005-10-14 Thread Greg Donald
On 10/14/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > I can understand that file_get_contents is going to add SOME overhead, > but 3 seconds sounds a bit "too much" Yeah, it's like half a second or so of overhead when I test it against wget: > for x in 1 2 3 4 5; do php -r 'system( "time `wget

Re: [PHP] network speed

2005-10-14 Thread John Nichel
Richard Lynch wrote: I've been spinning my wheels for weeks now on this, so am turning to the geniuses... My code has/had various combinations of: file_get_contents() fopen/fread fsockopen/fread to suck down some XML from a search engine feed The feed runs on Windows in .NET and I think it's wr

[PHP] network speed

2005-10-14 Thread Richard Lynch
I've been spinning my wheels for weeks now on this, so am turning to the geniuses... My code has/had various combinations of: file_get_contents() fopen/fread fsockopen/fread to suck down some XML from a search engine feed The feed runs on Windows in .NET and I think it's written in C#. None of w