You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Muhammad Faisal <fa...@yahoo.com> on 2016/04/07 14:52:36 UTC
Bandwidth on certain destination (squid delay pool)
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)
Posted by Jack Bates <du...@nottheoilrig.com>.
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" <du...@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)
Posted by Muhammad Faisal <fa...@yahoo.com>.
Hi Jack,
Delay pools give freedom for time based ACL and uses domain names,
patterns for policing.
--
Regards,
Faisal.
------ Original Message ------
From: "Jack Bates" <du...@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)
Posted by Jack Bates <du...@nottheoilrig.com>.
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)
Posted by Susan Hinrichs <sh...@network-geographics.com>.
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
> <sh...@network-geographics.com> 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
>> <fa...@yahoo.com> <ma...@yahoo.com> 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)
Posted by Sudheer Vinukonda <su...@yahoo-inc.com>.
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 <sh...@network-geographics.com> 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 <fa...@yahoo.com> wrote:
#yiv4871076996 blockquote.yiv4871076996cite {margin-left:5px;margin-right:0px;padding-left:10px;padding-right:0px;border-left:1px solid #cccccc;}#yiv4871076996 blockquote.yiv4871076996cite2 {margin-left:5px;margin-right:0px;padding-left:10px;padding-right:0px;border-left:1px solid #cccccc;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)
Posted by Susan Hinrichs <sh...@network-geographics.com>.
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
> <fa...@yahoo.com> 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)
Posted by Sudheer Vinukonda <su...@yahoo-inc.com>.
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 <fa...@yahoo.com> wrote:
#yiv2482257719 blockquote.yiv2482257719cite {margin-left:5px;margin-right:0px;padding-left:10px;padding-right:0px;border-left:1px solid #cccccc;}#yiv2482257719 blockquote.yiv2482257719cite2 {margin-left:5px;margin-right:0px;padding-left:10px;padding-right:0px;border-left:1px solid #cccccc;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.