Re: Bandwidth on certain destination (squid delay pool)

2016-04-11 Thread Jack Bates

Can you use the conf_remap plugin to match domain names?
Will it handle your patterns?
https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/conf_remap.en.html

Can you use iproute2 + cron or Traffic Server + the ts_lua plugin to 
implement your time-based rules?

https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/ts_lua.en.html

How do those options compare to the options in Squid?
Can you give a specific example of a rule you want to implement?

On 09/04/16 02:02 AM, Muhammad Faisal wrote:

Hi Jack,
Delay pools give freedom for time based ACL and uses domain names,
patterns for policing.
--
Regards,
Faisal.



-- Original Message --
From: "Jack Bates" <duh...@nottheoilrig.com>
To: users@trafficserver.apache.org
Sent: 4/8/2016 9:34:38 PM
Subject: Re: Bandwidth on certain destination (squid delay pool)


On 07/04/16 05:52 AM, Muhammad Faisal wrote:

Hi,
Is there any method we can limit the downloads/bandiwdth on certain
destinations based on origin or regex in ATS? .
PS: A feature call delay pools in squid allows to throttle bandwidth.


This sounds similar to something we did.
We combined Traffic Server and iproute2 to prioritize traffic to some
websites over others (e.g. Wikipedia vs. YouTube):

https://cwiki.apache.org/confluence/display/TS/Traffic+Shaping#TrafficShaping-Example


Would the same solution work for you?


Re: Bandwidth on certain destination (squid delay pool)

2016-04-09 Thread Muhammad Faisal

Hi Jack,
Delay pools give freedom for time based ACL and uses domain names, 
patterns for policing.

--
Regards,
Faisal.



-- Original Message --
From: "Jack Bates" <duh...@nottheoilrig.com>
To: users@trafficserver.apache.org
Sent: 4/8/2016 9:34:38 PM
Subject: Re: Bandwidth on certain destination (squid delay pool)


On 07/04/16 05:52 AM, Muhammad Faisal wrote:

Hi,
Is there any method we can limit the downloads/bandiwdth on certain
destinations based on origin or regex in ATS? .
PS: A feature call delay pools in squid allows to throttle bandwidth.


This sounds similar to something we did.
We combined Traffic Server and iproute2 to prioritize traffic to some 
websites over others (e.g. Wikipedia vs. YouTube):


https://cwiki.apache.org/confluence/display/TS/Traffic+Shaping#TrafficShaping-Example

Would the same solution work for you?




Re: Bandwidth on certain destination (squid delay pool)

2016-04-08 Thread Jack Bates

On 07/04/16 05:52 AM, Muhammad Faisal wrote:

Hi,
Is there any method we can limit the downloads/bandiwdth on certain
destinations based on origin or regex in ATS? .
PS: A feature call delay pools in squid allows to throttle bandwidth.


This sounds similar to something we did.
We combined Traffic Server and iproute2 to prioritize traffic to some 
websites over others (e.g. Wikipedia vs. YouTube):


https://cwiki.apache.org/confluence/display/TS/Traffic+Shaping#TrafficShaping-Example

Would the same solution work for you?


Re: Bandwidth on certain destination (squid delay pool)

2016-04-07 Thread Susan Hinrichs

But a TC based solution might work for Faisal.  In the short term.

On 4/7/2016 1:23 PM, Sudheer Vinukonda wrote:

No, that was based on TC;

The plugin I wrote doesn't depend on TC and is all handled within ATS.


On Thursday, April 7, 2016 11:08 AM, Susan Hinrichs 
 wrote:



Sudheer, is this similar to the patch you helped Faysal with? 
https://issues.apache.org/jira/browse/TS-2643



On 4/7/2016 10:32 AM, Sudheer Vinukonda wrote:

Not to the best of my knowledge.

However, you can write a plugin to do that (in fact, I've such a 
plugin that I'm using internally in our Origin Protection layer). It 
might be a while before I can open source the plugin though.


Thanks,

Sudheer


On Thursday, April 7, 2016 6:05 AM, Muhammad Faisal 
  wrote:



Hi,
Is there any method we can limit the downloads/bandiwdth on certain 
destinations based on origin or regex in ATS? .

PS: A feature call delay pools in squid allows to throttle bandwidth.
--
Regards,
Faisal.










Re: Bandwidth on certain destination (squid delay pool)

2016-04-07 Thread Sudheer Vinukonda
No, that was based on TC; 
The plugin I wrote doesn't depend on TC and is all handled within ATS. 

On Thursday, April 7, 2016 11:08 AM, Susan Hinrichs 
 wrote:
 

  Sudheer, is this similar to the patch you helped Faysal with? 
https://issues.apache.org/jira/browse/TS-2643
 
 
 On 4/7/2016 10:32 AM, Sudheer Vinukonda wrote:
  
  Not to the best of my knowledge.  
  However, you can write a plugin to do that (in fact, I've such a plugin that 
I'm using internally in our Origin Protection layer). It might be a while 
before I can open source the plugin though. 
  Thanks, 
  Sudheer 
 
  On Thursday, April 7, 2016 6:05 AM, Muhammad Faisal 
 wrote:
  
 
   #yiv4871076996 blockquote.yiv4871076996cite 
{margin-left:5px;margin-right:0px;padding-left:10px;padding-right:0px;border-left:1px
 solid #cc;}#yiv4871076996 blockquote.yiv4871076996cite2 
{margin-left:5px;margin-right:0px;padding-left:10px;padding-right:0px;border-left:1px
 solid #cc;margin-top:3px;padding-top:0px;}#yiv4871076996 
.yiv4871076996plain pre, #yiv4871076996 .yiv4871076996plain tt 
{font-family:monospace;font-size:100%;font-weight:normal;font-style:normal;}#yiv4871076996
 a img {border:0px;}#yiv4871076996 body 
{font-family:Calibri;font-size:12pt;}#yiv4871076996 .yiv4871076996plain pre, 
#yiv4871076996 .yiv4871076996plain tt {font-family:Calibri;font-size:12pt;}  
Hi, Is there any method we can limit the downloads/bandiwdth on certain 
destinations based on origin or regex in ATS? .    PS: A feature call delay 
pools in squid allows to throttle bandwidth.      -- Regards, Faisal.       
 
  
 
 

  

Re: Bandwidth on certain destination (squid delay pool)

2016-04-07 Thread Susan Hinrichs
Sudheer, is this similar to the patch you helped Faysal with? 
https://issues.apache.org/jira/browse/TS-2643



On 4/7/2016 10:32 AM, Sudheer Vinukonda wrote:

Not to the best of my knowledge.

However, you can write a plugin to do that (in fact, I've such a 
plugin that I'm using internally in our Origin Protection layer). It 
might be a while before I can open source the plugin though.


Thanks,

Sudheer


On Thursday, April 7, 2016 6:05 AM, Muhammad Faisal 
 wrote:



Hi,
Is there any method we can limit the downloads/bandiwdth on certain 
destinations based on origin or regex in ATS? .

PS: A feature call delay pools in squid allows to throttle bandwidth.
--
Regards,
Faisal.






Re: Bandwidth on certain destination (squid delay pool)

2016-04-07 Thread Sudheer Vinukonda
Not to the best of my knowledge. 
However, you can write a plugin to do that (in fact, I've such a plugin that 
I'm using internally in our Origin Protection layer). It might be a while 
before I can open source the plugin though.
Thanks,
Sudheer 

On Thursday, April 7, 2016 6:05 AM, Muhammad Faisal  
wrote:
 

 #yiv2482257719 blockquote.yiv2482257719cite 
{margin-left:5px;margin-right:0px;padding-left:10px;padding-right:0px;border-left:1px
 solid #cc;}#yiv2482257719 blockquote.yiv2482257719cite2 
{margin-left:5px;margin-right:0px;padding-left:10px;padding-right:0px;border-left:1px
 solid #cc;margin-top:3px;padding-top:0px;}#yiv2482257719 
.yiv2482257719plain pre, #yiv2482257719 .yiv2482257719plain tt 
{font-family:monospace;font-size:100%;font-weight:normal;font-style:normal;}#yiv2482257719
 a img {border:0px;}#yiv2482257719 body 
{font-family:Calibri;font-size:12pt;}#yiv2482257719 .yiv2482257719plain pre, 
#yiv2482257719 .yiv2482257719plain tt 
{font-family:Calibri;font-size:12pt;}Hi,Is there any method we can limit the 
downloads/bandiwdth on certain destinations based on origin or regex in ATS? .  
PS: A feature call delay pools in squid allows to throttle bandwidth.  
--Regards,Faisal.