Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Bandwidth Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bandwidth Question

 Post Reply Post Reply Page  12>
Author
Amateur View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 July 2004
Location: Ireland
Status: Offline
Points: 210
Post Options Post Options   Thanks (0) Thanks(0)   Quote Amateur Quote  Post ReplyReply Direct Link To This Post Topic: Bandwidth Question
    Posted: 14 August 2006 at 1:10am
I have a question regarding bandwidth.

1. I have put a large (31MB) mp3 file up on my webspace for users to listen to. If they click the link it enables them to listen to it online.

2. If i put it in a zip file it is downloaded to the users PC where they can listen to it from there.

My question is, does the 2nd way use less bandwidth? I am aware that the fact it is in a zip file, the file will be smaller in size but I was of the opinion that as the file is being listened to from the local PC rather than the server it would use alot less bandwidth. Am i right or wrong?

In the end really, i'm trying to find the way to use the least bandwidth.
Back to Top
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote dfrancis Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2006 at 1:22am
Go with the zip. If your file is popular, people will link to it and play it over and over (lots of bandwidth). As a zip, people will play it several times but from their own hard drive. If bandwidth is your concern... go with the zip.
 
IMHO
 
 
Back to Top
Amateur View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 July 2004
Location: Ireland
Status: Offline
Points: 210
Post Options Post Options   Thanks (0) Thanks(0)   Quote Amateur Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2006 at 1:25am
Just to confirm, downloading the zip file will use up bandwidth only the once?
Back to Top
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote dfrancis Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2006 at 1:35am
correct.
 
well... unless the person deletes it each time but those should be far fewer than those who link directly to it from their media player.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2006 at 2:02am
Originally posted by Amateur Amateur wrote:

My question is, does the 2nd way use less bandwidth? I am aware that the fact it is in a zip file, the file will be smaller in size but I was of the opinion that as the file is being listened to from the local PC rather than the server it would use alot less bandwidth. Am i right or wrong?

In the end really, i'm trying to find the way to use the least bandwidth.
 
If a person listens to a clip that is downloaded on their pc, then they're no longer connected to your server as the file is being played from their pc... so evantually they're not using your bandwidth...
 
I don't think that zipping an audio clip would reduce its size a lot or minimize the bandwidth need... streaming it would require more bandiwdth i think...
Edit, and yes... zipping it would prevent hot linking.. so it's a good idea to zip it if the purpose behind it is to prevent hot linking.


Edited by Info_Tech - 14 August 2006 at 2:04am
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
Bluefrog View Drop Down
Senior Member
Senior Member


Joined: 23 October 2002
Location: Korea, South
Status: Offline
Points: 1701
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bluefrog Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2006 at 8:39am
Zipping a file won't prevent hot linking from other sites. You need to take care of that kind of stuff at the server level (in general).

I put up some information on understanding compression ratios here. It explains a bit about why zipping MP3 files won't get you better compression. It also explains a couple situations where you want to zip files even though you won't get any decent compression - basically for grouping.

Streaming incurs overhead, but that isn't the main concern. The overhead is generally pretty small. Some audio like WMA is very fault tolerant and can withstand packet loss without any serious problems. So past that, the main concern is people continually downloading the same content. Again, like mentioned above, you'll save on bandwidth if they simply download it.
You can actually force a download of an MP3 by changing the MIME type. The normal MIME type for MP3 is "audio/mpeg" or something similar. If you change it to something like "application/x-audio-mp3" or something like that, then the browser will download it instead.

So, you might want to set up a subdomain for that and have a custom MIME type. You then avoid having to zip any files and the MP3 still downloads.

Cheers,

Ryan

Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2006 at 9:33am
Sorry, I meant that it would prevent hot linking only when those that try to hot-link an audio clip want to stream it... because it is zipped so it won't play and will not stream... but yes it would still be downloadable as a zipped file.
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
Bluefrog View Drop Down
Senior Member
Senior Member


Joined: 23 October 2002
Location: Korea, South
Status: Offline
Points: 1701
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bluefrog Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2006 at 12:43pm
Originally posted by Info_Tech Info_Tech wrote:

Sorry, I meant that it would prevent hot linking only when those that try to hot-link an audio clip want to stream it... because it is zipped so it won't play and will not stream... but yes it would still be downloadable as a zipped file.


Ahem... Yeah... Ouch... Hot-linked streaming could be potentially VERY painful!
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.