473,765 Members | 2,047 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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


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
0 1065

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1395
by: Martin Raychev | last post by:
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
10
1815
by: Steve Richter | last post by:
I have some potentially large objects I would like to store in the viewstate of a user control. Large as in an entire email message. Is ViewState not the sort of place to store such an object? I think my question and concern depends on what asp.net does with the view state when the page is written to the browser. Is the entire viewstate contents written to the browser as a hidden field? Or are the view state contents stored on the...
12
26999
by: chipgraphics | last post by:
:confused::confused: I have been on the quest to find a php script that can serve files for downloads and limit the speed at which the file is transfered to the user. I want a faster download speed for registered members and a slower speed for guests. The only other thing I can think of is using the header() function to force a download for the requested file type and stream the file to the user's browser. Then using sleep() or usleep()...
2
3549
by: Atul | last post by:
In my winform application, to access webmethod, we create a webservice proxy object. For the first time, when winform application is started, for creating proxy object(e.g. MyWebServiceProxy oProxy = new MyWebServiceProxy() )it takes a long time(appr. 2 seconds), but for the next time it happens in 0-10 milli-seconds. For each proxy object for first time creation it takes looong time. One reason I know is because of JIT compilation(MSIL...
3
6396
by: anonymono | last post by:
Can I control the maximum speed that a connection (remoting or sockets) can reach with C#? Thanks in advance. --
1
3070
by: bigpoppa | last post by:
Hey, I need a script that will limit download speed and I want it integrated into the script I am using below. The script below forces downloads and hides url paths and logs stastics of downloads and displays them. I want to make it so if I import this script using the include header that it will also limit the download speed for files on my site to 20kbps. I don't want to have to include any fancy stuff in the <a href> tag. I have attached the...
3
5402
by: Arpan | last post by:
Web Services make use of proxy classes whose methods & properties are accessed in exactly the same way as how a normal class' methods & properties are accessed. So what for does ASP.NET generate proxy classes (using WSDL) which consume more hard disk space & resources? For e.g. consider the following code which exists in a user-defined class file: Imports System Imports System.Data
5
1639
by: Pitaridis Aristotelis | last post by:
I have a large file which has to be downloaded from a user using the Internet Explorer. The problem is that when someone downloads this file, the server slows down and the other users can not see the web pages from the server because there is not available bandwidth. Is there any way to decrease the download speed of this file by reading pieces of the file and manually send each piece every 100 milliseconds in order to control the speed of...
0
1668
by: toka | last post by:
Hello, I use HttpWebRequest/HttpWebResponse to retrieve a file from weberver. I retrieve it as a Stream and write to file. But this simple method uses all available network bandwidth. How can I set download speed limit? Thank you.
3
1581
by: Mathieu Prevot | last post by:
Hi, I have a multithreaded script that mainly creates several wget processes to download files. I would like to check/see and eventually limit the bandwidth of the pool of processes. One way to do this is to change the number of wget instances, but it's a workaround. What do you recommend to do the following in python: 1) know the bitrate at the script scale 2) control, and limit or not this bitrate
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9957
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9835
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8832
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5276
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.