Re: Question about the poll model of the Traffic Monitor

2018-04-03 Thread Zhilin Huang (zhilhuan)
Thanks, Eric. It works. I added the design doc which links to the google doc. Thanks, Zhilin On 03/04/2018, 8:19 PM, "Eric Friedrich (efriedri)" wrote: Zhilin- I added you to the Wiki permissions. Please try again —Eric > On Apr 3, 2018, at

Re: Question about the poll model of the Traffic Monitor

2018-04-03 Thread Zhilin Huang (zhilhuan)
Hi Dave, I could not find the edit button on this page. Looks like I do not have the authority to add the doc. Thanks, Zhilin On 03/04/2018, 2:43 AM, "David Neuman" wrote: Hi Zhilin, Is it possible to get this design doc added to our wiki? I create a

Re: Question about the poll model of the Traffic Monitor

2018-04-02 Thread David Neuman
Hi Zhilin, Is it possible to get this design doc added to our wiki? I create a design docs page here (https://cwiki.apache.org/confluence/display/TC/Design+Docs). I think it would be good to get the document there so it doesn't get lost over time. Thanks! Dave On Wed, Mar 28, 2018 at 10:41 PM,

Re: Question about the poll model of the Traffic Monitor

2018-03-28 Thread Zhilin Huang (zhilhuan)
Hi Guys, Thanks a lot for the discussion. I should put the design earlier for review, and sorry for the delay. Here is the link for the design doc: https://docs.google.com/document/d/1vgq-pGNoLLYf7Y3cu5hWu67TUKpN5hucrp-ZS9nSsd4/edit?usp=sharing Short summary for the feature design: --- There is

Re: Question about the poll model of the Traffic Monitor

2018-03-28 Thread Neil Hao (nbaoping)
Hi Robert/Nir, Thanks very much for the quick and detail reply, and sorry for that I didn’t make the whole feature clearly. Actually, it’s our Secondary IP feature, which is a big feature that will bring change to all the components in the Traffic Control. I thought our teammate reviewed the

Re: TM: Question about the poll model of the Traffic Monitor

2018-03-28 Thread Robert Butts
I agree with Nir, it's not as simple as changing a structure to `[]URL`, it's a bigger architectural design question. How do you plan to mark caches Unavailable if they're unhealthy on one interface, but healthy on another? Right now, Traffic Router needs a boolean for each cache, it doesn't

Re: TM: Question about the poll model of the Traffic Monitor

2018-03-28 Thread Nir Sopher
Hi Eric/Neil, Isn't the question of supporting multi interfaces per server a much wider question? Architectural wise. What would be the desired behavior if the monitoring shows that only one of the interfaces is down? Will the router send traffic to the healthy interfaces? How? Nir On Wed, Mar

Re: TM: Question about the poll model of the Traffic Monitor

2018-03-28 Thread Eric Friedrich (efriedri)
The use case behind this question probably deserves a longer dev@ email. I will oversimplify: we are extending TC to support multiple IPv4 (or multiple IPv6) addresses per edge cache (across 1 or more NICs). Assume all addresses are reachable from the TM. —Eric > On Mar 28, 2018, at 11:37

Re: TM: Question about the poll model of the Traffic Monitor

2018-03-28 Thread Robert Butts
When you say different interfaces, do you mean IPv4 versus IPv6? Or something else? If you mean IPv4 vs IPv6, we have a PR for that from Dylan Volz https://github.com/apache/incubator-trafficcontrol/pull/1627 I'm hoping to get to it early next week, just haven't found the time to review and test

TM: Question about the poll model of the Traffic Monitor

2018-03-28 Thread Neil Hao (nbaoping)
Hi, Currently, we poll exact one URL request to each cache server for one interface, but now we’d like to add multiple interfaces support, therefore, we need multiple requests to query each interface of the cache server, I check the code of Traffic Monitor, it seems we don’t support this kind