- Original Message -
From: Willy Tarreau w...@1wt.eu
To: Rajat Chopra rcho...@redhat.com
Cc: haproxy haproxy@formilux.org
Sent: Saturday, May 10, 2014 12:01:14 AM
Subject: Re: Help with dynamic backend selection
On Sat, May 10, 2014 at 07:58:25AM +0200, Willy Tarreau wrote
On Sat, May 10, 2014 at 07:58:25AM +0200, Willy Tarreau wrote:
May I ask about the ETA on this?
It's too early for me to know, I need to go down deep into the ebtrees first
to
see if longest match is compatible with strings storage-wise, then I need to
study how patterns are built as
Hi Rajat,
On Tue, May 06, 2014 at 07:34:34PM -0400, Rajat Chopra wrote:
Hi!
The new feature to dynamically select a backend has been going great for
me.
I use it like this and it all works like a charm :
use_backend bk_%[hdr(host),host_to_backend.mapfile] if TRUE
Now I need help
- Original Message -
From: Willy Tarreau w...@1wt.eu
To: Rajat Chopra rcho...@redhat.com
Cc: haproxy haproxy@formilux.org
Sent: Friday, May 9, 2014 10:43:32 AM
Subject: Re: Help with dynamic backend selection
Hi Rajat,
On Tue, May 06, 2014 at 07:34:34PM -0400, Rajat Chopra
Hi Rajat,
On Fri, May 09, 2014 at 02:13:47PM -0400, Rajat Chopra wrote:
Why don't you run that based on ACLs if you're certain that service2 will
not cause any trouble ?
Eg:
use_backend bk_%[hdr(host),host_to_backend.mapfile]_%[path] if {
path_beg
/service2 }
Wonder if we could use some pluggable logic for map. e.g. User can provide
a
.so with the user defined map function. So my call will become :
It's still early to do this, there are strict types on the patterns and
their own alloc/release/insert/delete functions.
use_backend
On Fri, May 09, 2014 at 07:54:33PM -0400, Rajat Chopra wrote:
No that much. I'm thinking about something. Maps can retrieve the first
matching prefix using map_beg. So if you pass base to your map, you'll
have the host+path on input, and take the first matching prefix. Thus, it
will give
Hi!
The new feature to dynamically select a backend has been going great for me.
I use it like this and it all works like a charm :
use_backend bk_%[hdr(host),host_to_backend.mapfile] if TRUE
Now I need help with a situation. Some of the servers meant for a particular
hostname need path
8 matches
Mail list logo