Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

map_dom vs map_str (no replies)

$
0
0
Hi all,

just read in the documentation that map_str uses a balanced tree vs.
map_dom is using a list. So why should I use map_dom? Right now I am
using following:

use_backend
%[req.hdr(host),lower,map_dom(/etc/haproxy/hostname2backend.map,default
_backend)] 

Would map_str improve the performance?

Thanks Gerd

Viewing all articles
Browse latest Browse all 5112

Trending Articles