Re: Traffic Server Secondary Streaming IPs Design

2018-04-22 Thread John Shen (weifensh)
and we're likely to break it for you, and we'll > have to figure out why. It'll just be more painful for everyone to do new > things in Perl. > > You can also convert Perl endpoints to Go yourself, as you need to modify > them, if you like. Just be sure to coord

Re: Traffic Server Secondary Streaming IPs Design

2018-04-20 Thread John Shen (weifensh)
Hi Nir and all, Do you know when will the full GO version of Traffic Ops be ready in the master branch? The reason I raise this question is that we are starting to implement this feature, and if some of the APIs involving this feature are still in Perl and will not be ported to GO very soon,

Re: Traffic Control Last-resort Routing

2018-04-03 Thread John Shen (weifensh)
irect location when there is no available cache in a DS. —Eric > On Apr 2, 2018, at 7:43 AM, John Shen (weifensh) <weife...@cisco.com> wrote: > > Hi guys, > > We are planning to add a Last-resort routing feature to Traffic Control. It will make

Re: Support custom routing selection logics

2017-06-26 Thread John Shen (weifensh)
- such a plugin would be statically compiled into the TR “jar" [John] Yes, this is true. —Eric > On Jun 23, 2017, at 10:49 AM, John Shen (weifensh) <weife...@cisco.com> wrote: > > Traffic Router currently support Coverage Zone File based ro

Support custom routing selection logics

2017-06-23 Thread John Shen (weifensh)
Traffic Router currently support Coverage Zone File based routing and Geolocation based routing. We are planning to add another type of routing selection logic. Since this part of code will not be put into open source code, we are considering how to integrate the new routing selection code into

Re: Multiple custom access log files for ATS

2017-04-16 Thread John Shen (weifensh)
Thanks Jan! Best regards, John On 14/04/2017, 10:25 PM, "Jan van Doorn" <j...@knutsel.com> wrote: I don’t see an issue, provided you make it backwards compatible, and it looks like you are. Rgds, JvD > On Apr 14, 2017, at 12:04 AM, John She

Multiple custom access log files for ATS

2017-04-14 Thread John Shen (weifensh)
Currently TO supports only one custom access log file by configuring the "LogFormat" and "LogObject" parameters for "logs_xml.config". We have a requirement to support multiple custom access log files. As ATS does support this, we are planning to extend "LogFormat"&"LogObject" on TO, and add

Re: Backup Cache Group Selection

2017-03-30 Thread John Shen (weifensh)
hat might appear in one's CZF. > > Thanks, > Jeff > > > On Wed, Mar 29, 2017 at 9:12 AM, John Shen (weifensh) > <weife...@cisco.com> wrote: > > Hi Jeff, > > > > Thank you for the detail. I am wond

Re: Backup Cache Group Selection

2017-03-29 Thread John Shen (weifensh)
es to the log because it'll be identical in most CZF hit cases. Thanks, Thanks, Jeff On Wed, Mar 29, 2017 at 7:02 AM, John Shen (weifensh) <weife...@cisco.com> wrote: > Hi Jeff, > > I have just tried the getClosestCacheLocation() logic. It appears the CZF > matched lat/lo

Re: Backup Cache Group Selection

2017-03-29 Thread John Shen (weifensh)
Hi Jeff, I have just tried the getClosestCacheLocation() logic. It appears the CZF matched lat/long does come from CZF, but the lat/long of the “closest” Cache Groups is from the configuration by Ops. This means to calculate the distance from the matched CG and “closest” CG, the source