PhpDig.net

Go Back   PhpDig.net > General Forums > The Mole Hole

Reply
 
Thread Tools
Old 03-27-2004, 08:19 PM   #1
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Download managers/accelerators

Hi. So here's an example of a seemingly popular download manager/accelerator making five requests for the PhpDig script.


1) xxx.xxx.xxx.xxx - - [25/Mar/2004:02:01:22 -0800] "GET /download.php?digfile=phpdig-1.8.0.zip HTTP/1.0" 302 0 "-" "DA x.x"

2) xxx.xxx.xxx.xxx - - [25/Mar/2004:02:01:38 -0800] "GET /scripts/phpdig-1.8.0.zip HTTP/1.0" 206 54968 "http://www.phpdig.net/download.php?digfile=phpdig-1.8.0.zip" "DA x.x"

3) xxx.xxx.xxx.xxx - - [25/Mar/2004:02:01:42 -0800] "GET /scripts/phpdig-1.8.0.zip HTTP/1.0" 206 54968 "http://www.phpdig.net/download.php?digfile=phpdig-1.8.0.zip" "DA x.x"

4) xxx.xxx.xxx.xxx - - [25/Mar/2004:02:02:12 -0800] "GET /scripts/phpdig-1.8.0.zip HTTP/1.0" 206 54970 "http://www.phpdig.net/download.php?digfile=phpdig-1.8.0.zip" "DA x.x"

5) xxx.xxx.xxx.xxx - - [25/Mar/2004:02:02:24 -0800] "GET /scripts/phpdig-1.8.0.zip HTTP/1.0" 200 219874 "http://www.phpdig.net/download.php?digfile=phpdig-1.8.0.zip" "DA x.x"


Now here's a breakdown of the bandwidth usage by said five requests:
Code:
1)       0 bytes - 302 found redirect
2)   54968 bytes - 206 partial content
3)   54968 bytes - 206 partial content
4)   54970 bytes - 206 partial content
    ------
    164906  bytes - 206 partial content (sub total)


    164906  bytes - 206 partial content (sub total)
5)  219874  bytes - 200 OK (file downloaded)
    ======
    384780  bytes (grand total)


    384780 / 219874 =~ 1.75 => ~75% more

    (check: 219874 * 0.75 =~164906 => ~75% more)
So what does this mean?

It means that the five requests by said download manager/accelerator sucked 384780 bytes to grab the file, whereas the file is 219874 bytes.

This implies that said download manager/accelerator sucked ~75% more bandwidth than was necessary to grab said file.

Hmm!
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 03-28-2004, 06:08 PM   #2
managedlinks
Green Mole
 
Join Date: Mar 2004
Posts: 3
Hmm not much of a download manager.

I wrote my own a couple of years ago, and my service calls went down by 80%.

I would not be without it now. to the point it is the first thing my customers download.

most of my files are > 3Meg so its is worthwhile


it goes like this

user clicks download link
small exe (~19K) is downloaded to their machine
it checks to see if manager is installed, if it is it hands the job over to the manager
if not the manager is installed and automatically picks up the job.

Much Much Much better then getting countless emails about corrupt or incomplete downloads.

also prevents users from downloading the same file 20 times

all in all
__________________
Chris
http://www.managedlinks.com

Last edited by managedlinks; 03-28-2004 at 06:10 PM.
managedlinks is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Download phpdig morpion Feedback & News 1 05-03-2005 11:32 AM
Trouble with download? Charter Feedback & News 0 03-21-2005 02:04 AM
download problem sayee3k1 Troubleshooting 1 03-27-2004 07:12 PM


All times are GMT -8. The time now is 01:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.