View previous topic :: View next topic |
Author |
Message |
rinselberg -
Joined: 09 Mar 2008 Posts: 11
|
Posted: Tue Mar 18, 2008 12:13 pm Post subject: File access: Can I make this go faster? |
|
|
To simulate one of my clients, I went to an Internet cafe and sat in front of a Windows PC with a broadband connection. I used the domain name that I have established to request some mp3 format audio files using the IE browser. For each access, the file has to complete its download before the music starts playing.
The download time was 100 seconds for a 3.5 MB mp3 file; 105 seconds for a 4.0 MB file and 130 seconds for a 4.9 MB file.
Here's an example.. the 4.0 MB file:
http://rinselberg.dyndns.org:8000/baghdadbob.mp3
I set up my server on a desktop Mac with the Intel architecture, running Mac OS X on 1 GB of RAM. I may eventually have a broadband connection on the server side, but at present it is DSL. I ran the SPEEDTEST.NET benchmark and it showed me:
This activity is just for fun and I am more or less restricted to freeware (free software) solutions. I established my domain name with the lowest (free of charge) tier of the DynDNS service. My Web server is Abyss X1.
The only applications that were running on top of Mac OS X during these benchmark runs were Abyss X1 and the DynDNS Update daemon.
What might be done to speed up the download times for my clients, aside from new server hardware or a broadband connection?
Are there software parameters that could be modified?
I'm just getting started and this is my first venture into networking and Web server implementation.
Is there a freeware (or even a "cheapware") solution that would enable me to "stream" the mp3 files instead of forcing my client to wait for the entire file to download before the music starts playing?
I am doing this to add some humor to the posts that I submit almost every day to certain Internet message boards or online forums: It's not a music sharing service or an online jukebox or anything like that.
I am posting this in hopes that someone here will point me in a useful direction so that I don't get bogged down with wide-ranging search engine queries or plodding through reams of online software documentation to discover the answer(s).
To read more about how I got to this point, please see Stuck--trying to take the first "baby step" with Abyss X1.
Thanks again for your interest. |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Tue Mar 18, 2008 1:19 pm Post subject: |
|
|
Your upload speed is the limiting factor. This is the maximum speed at which you can send data to people viewing the site. The higher the value, the faster it is capable of sending data. You have around 400Kbps, which is about 45KB/s.
One thing you can do is re sample the mp3's to a lower bit rate, although this will degrade the audio quality.
Apart from that, simply getting a package with a higher upload speed is your best bet. It can get quite expensive to do this though depending on the ISP. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Wed Mar 19, 2008 1:16 am Post subject: |
|
|
Maybe something like this is what you're looking for? _________________ -Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados. |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
Posted: Thu Mar 20, 2008 1:55 am Post subject: |
|
|
rrinc wrote: | Maybe something like this is what you're looking for? |
That would certainly do the trick.
On my church website (http://calvarybucyrus.org), I have a streaming setup with the sermons. (Link here)
The flash control is actually a wordpress plugin that I tweaked.
A link to a tutorial for this player is here --> http://www.macloo.com/examples/audio_player/
Another flash player: http://www.jeroenwijering.com/?item=JW_FLV_Media_Player
BTW, if I use WMP to listen to your audio sample, it starts playing after a short buffer time (about 3 seconds). If I use Quicktime, which is unfortunately installed on my comp, then you must download the whole file for it to start playing. This file handling is a client issue. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
|