Faysal Banna created TS-2642:
--------------------------------
Summary: header_rewrite Time based Rules / Origin bandwidth
throttling
Key: TS-2642
URL: https://issues.apache.org/jira/browse/TS-2642
Project: Traffic Server
Issue Type: New Feature
Components: Performance, Plugins
Reporter: Faysal Banna
Hi Guys.
with the great stuff in header_rewrite plugin there comes an issue which
arises.
Header rewrite plugin can modify configurable options based upon the condition
rules and logic we use inside it.
the feature am asking for is to add timing condition for those rules
example
cond %{time} >1600 [AND]
cond %{time} <2000
cond %{time:day} =6
....
.....
....
.... [L]
where day<= {0,...6} {Sunday...Saturday}
for example between 20:00 and 23:59 set these conditional rules
other than this timing set other rules
that would be handy like for instance during high traffic hours of the day no
background fill should be applied
during late night and early morning hours full background fill would be applied
and during medium traffic hours (16:00<->20:00) set background fill not to
exceed 20sec
2nd feature request would be Origin bandwidth rate limiting (throttling), yet i
know not where would it be implemented, and since we take most of the headers
requested and responses in the header_rewrite and we can apply/override rules
per txn in header_rewrite, The idea is that since we do time condition and set
background filling and chance some stuff in the header_rewrite
why cann't we issue a configurable request to records.config to limit this txn.
its for the reason needed so that at some peak hours clients who are using
downloads or watching some porn movies would be rate limited at those times,
and maybe for example windows updates that work in background would not consume
much of my bandwidth from origin server
and leave space more for the interactive pages and stuff to pass through
thats why i said if it possible to do it in header_rewrite plugin cause as far
its the only plugin i seen that can override configurable rules as per
request
much regards
Faysal Banna
--
This message was sent by Atlassian JIRA
(v6.2#6252)