Post Reply 
Add web accelerator features to our local proxies?
Dec. 12, 2014, 12:57 PM (This post was last modified: Dec. 12, 2014 01:17 PM by GunGunGun.)
Post: #3
RE: [split] Another Filtering Proxy
Quote: I think all download accelerators (kind of proxy) do this.

Thank you, After some Googles, I, seem I finally figure how my idea will look like.

At this time I understand how Range header work, it work by splitting file using Range: bytes=0-???, and browser will only download from 0-???bytes, so if we detect if file is video type (very easy) and then use open multiple download with local proxy using something like this, example:

REQUEST youtube.com/videoplayback.mp4 (40MB)

We will add something like Range: bytes=0-20000 and open another connection with Range: bytes=20000-40000. (I know that byte in my example if convert to MB is wrong but just my example)
Maybe, but I am 99% sure that we will need the help of Content-Length by fetching a few bytes from that video file and then divide value to use in Range header-like method again.

That mean we will have a really complicate work here:
- First request that file, get its Content-Length value
- Devide that value, and open connection based on that value
- After it get fully downloaded, send to browser

Seem a little bit not as good as Speedbit Video Accelerator because we cannot watch that video file until it fully downloaded but I think this way much more easier to implement. And that even better than watch that video but lag and spike happen regularly... Seem if we implement ability to preview that video then it will be much harder, it will work like:

- First request that file, get its Content-Length value
- Devide that value, and open connection based on that value
- Let browser download 1st connection when we are trying to download all other connections.
- Use some technology like keep-alive to continuously increase 1st connection by merging it with 2nd til the last connection. If i'm not wrong, I already saw some game use technology like, maybe Rise of Mythos, reponse still keep-alive with server and get more infomation without create a new request.




Just my idea, hope that give you some inspiration, it is a little bit weird but I think it is really helpful, some video site like mp4upload or auengine.io can open more than 1 connection, but browser only open 1, so really we cannot reach our max download speed
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [split] Another Filtering Proxy - GunGunGun - Dec. 12, 2014 12:57 PM
RE: Another Filtering Proxy - whenever - Dec. 12, 2014, 09:41 AM

Forum Jump: