You are hereForums / Suggestions / delay pool for youtube

delay pool for youtube


6 replies [Last post]
Anonymous
delay pool for youtube
Printer-friendly versionSend to friend

since the last time i ask u bout the delay pool on youtube video streaming 2 months ago... i have been lost since u got so many update on ur cache video development...

so here im asking again if u have any update on the matters..

1) stop or cancel the video caching immediately when the user close the browser even thou the video not finish.if not it gonna use my entire download bandwidth until the video fully cached & making other user hard to surf..

2) add delay pool option to ur script since delay pool on squid.conf wont limit youtube video streaming...

thanks for ur hard work...

*its nice to have a forum now...

alvarez

admin's picture
Online
Joined: Nov 2 2008

I also kinda got lost somewhere because I couldn't really keep up with suggestions without a forum. Here are my answers to your questions.

1. Right now this is not really possible because squid doesn't pass any connection information to url rewriters and will not raise any exception or error when a connection is closed following a browser close event by a client.

2. There is no need to add delay pools in videocache. You can limit bandwidth used by videocache by introducing delay pools for the proxy server's IP address. Because videocache uses proxy server to cache videos. So, if you put a cap on how much bandwidth your proxy server can use while using itself as a proxy, videocache bandwidth usage will automatically be limited :) And this will not affect normal traffic from your clients. Another option to control bandwidth usage by videocache is to use max_parallel_downloads option in /etc/videocache.conf.

In case you have more suggestions or answers look confusing, please feel free to reply here :)

Thanks for using videocache.

Offline
Joined: Nov 6 2008

Hi

here is how to add delay pool to squid to limit the bandwidth of youtube and the other sites.

i gave an example of 512k for videocache sites, and other sites if the admin will add in the future.

acl bad_sites url_regex -i youtube.com redtube.com some_other_sites.com
delay_pools 1
delay_class 1 1
delay_access 1 allow bad_sites
delay_parameters 1 64000/8192

hope this will help.

try it and tell me your opinion .

admin's picture
Online
Joined: Nov 2 2008

Hi salah,

Thank for the suggestion. I hope this will help the above user.

redvivi (not verified)

Is it possible to use directly the acl provided by videocache's squid conf to use delay pools ?

admin's picture
Online
Joined: Nov 2 2008

Redvivi,

I think that should work out of the box. Please try.

Thank You!

jchuerta's picture
Offline
Joined: Dec 1 2008

I have this ACL .. I hope it help's

acl youtube urlpath_regex \/(get_video\?|videodownload\?|videoplayback.*id) \.(flv)\? \/ads\?

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

Buy Now

Videocache Bundle (RPM and tar archive) is available for just $39.99. Secure your copy now by clicking the button below.
For details, check this page.

Recent comments

Spread it

Thank you for spreading the word!

Who's online

There are currently 1 user and 130 guests online.