Re: Dynamic backends decided by an external service

2016-07-21 Thread Sachin Shetty
Thanks a lot Thierry, that was it, changing to http-request solved my issue. I am now able to leverage a fully dynamic backend :) Thanks Sachin On 7/21/16, 10:52 PM, "thierry.fourn...@arpalert.org" wrote: >On Tue, 19 Jul 2016 15:28:25 +0530 >Sachin Shetty wrote: > >> Hi, >> >> We always had

Re: Dynamic backends decided by an external service

2016-07-21 Thread thierry . fournier
On Tue, 19 Jul 2016 15:28:25 +0530 Sachin Shetty wrote: > Hi, > > We always had a unique requirement of picking a backend based on response > from a external http service. In the past we have got this working by > routing requests via a modified apache and caching the headers in maps for > furt

Re: Dynamic backends decided by an external service

2016-07-21 Thread Sachin Shetty
Hi, Any suggestions? Basically if I call http-request lua.choose_backend which seeds a map, will the map values be available in the subsequent map look up in the same request? Thanks Sachin From: Sachin Shetty Date: Tuesday, July 19, 2016 at 3:28 PM To: "haproxy@formilux.org" Subject: Dyn