On Mon, Dec 08, 2014 at 10:46:07PM +0530, Sachin Shetty wrote:
> Thanks willy, I need to do more than just pick a backend. So you feel even
> with a map of 10K keys, multiple look ups should be ok?
Sure. Fetching the header is more expensive than performing a lookup
in a binary tree of "only" 10k
Thanks willy, I need to do more than just pick a backend. So you feel even
with a map of 10K keys, multiple look ups should be ok?
Thanks
Sachin
On 12/8/14 6:15 PM, "Willy Tarreau" wrote:
>Hi Sachin,
>
>On Mon, Dec 08, 2014 at 06:04:35PM +0530, Sachin Shetty wrote:
>> Hi Willy,
>>
>> I need on
Hi Sachin,
On Mon, Dec 08, 2014 at 06:04:35PM +0530, Sachin Shetty wrote:
> Hi Willy,
>
> I need one more clarification, I need the value in multiple acls
>
> acl is_a_v-1 hdr(host),map(/opt/haproxy/current/conf/proxy.map) a_v-1
>
> acl is_a_v-2 hdr(host),map(/opt/haproxy/current/conf/proxy.map
Hi Willy,
I need one more clarification, I need the value in multiple acls
acl is_a_v-1 hdr(host),map(/opt/haproxy/current/conf/proxy.map) a_v-1
acl is_a_v-2 hdr(host),map(/opt/haproxy/current/conf/proxy.map) a_v-2
acl is_a_v-3 hdr(host),map(/opt/haproxy/current/conf/proxy.map) a_v-3
..
..
acl
Thanks a lot Willy.
Yes, I tried my luck with sticky tables, but could not find a way to store
key value mapping for 1000s of host names.
I will move this to testing, thanks for you help as always :)
Thanks
Sachin
On 12/2/14 1:01 PM, "Willy Tarreau" wrote:
>Hi Sachin,
>
>On Sat, Nov 29, 2014
Hi Sachin,
On Sat, Nov 29, 2014 at 04:19:54PM +0530, Sachin Shetty wrote:
> Hi,
>
> In our architecture, we have thousands of host names resolving to a single
> haproxy, we dynamically decide a sticky backend based on our own custom
> sharding. To determine the shard info, we let the request flow
Hi,
In our architecture, we have thousands of host names resolving to a single
haproxy, we dynamically decide a sticky backend based on our own custom
sharding. To determine the shard info, we let the request flow in to a
default apache proxy that processes the requests and also responds with
th
7 matches
Mail list logo