By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,663 Members | 1,337 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,663 IT Pros & Developers. It's quick & easy.

Idea: Proxy class to limit download speed. Utilize bandwidth efficiently

P: n/a

Hi everybody,
I have a need for a web app that will allow a flash client to download files
at a specified speed.
I am using Flash for an application of mine which downloads JPG slides to
users' web based app.
Because I can't control how quickly a file (in this case, a JPG slide) is
downloaded, Flash will use all available bandwidth to download the file.
This causes performance problems, because the bandwidth gets throttled and I
don't have any remaining bandwidth to do other application tasks.
I don't know much about how a possible bandwidth usage can be limited (using
..NET) but I imagine that basically what I need is a proxy service that would
run on one of our web servers. I would ask the proxy service to send us a
specific file (by passing the URL for that file) and we would specify that
maximum bandwidth that we want to receive that file at.

So, my request might look something like this:

http://web.cpmany.com/speedCapProxy....&maxkbps=20000
The app would send the client whatever headers / mime information that would
be appropriate for that type of file. Typically the file would be a JPG or
SWF.
It's critical that this send the data contiguously and without bursting to
higher speeds.
If anyone has an idea about how this can be accomplished or any online
resources, I'd appreciate greatly!
Thanks so much
Martin


Nov 22 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.