On Mon, Jun 30, 2008 at 4:38 PM, Willy Tarreau <w#1wt.eu> wrote:
> On Mon, Jun 30, 2008 at 10:39:50AM +0800, Jeffrey 'jf' Lim wrote:
> > hey guys, I was looking into the solution for name-based loadbalancing
> when
> > I stumbled into req(i|)setbe. Given that the documentation isnt exactly
> > clear right now for req(i|)setbe (the config example given doesnt really
> say
> > all that much about the meaning of the various values after the
> parameter!),
> > I was just wondering what, and how it is different from the 'acl'
> parameter.
> > Does it make a difference which I use? which is faster?
>
> Reqsetbe is the older form. It's slower because the regex is applied to all
> lines of the request. ACLs are much faster and cleaner. You shouldn't use
> reqsetbe anymore :-)
>
got it!!! I looked at the code (more exactly, the earlier patch that got merged in to create this), and realized just as much...
thanks,
-jf
-- In the meantime, here is your PSA: "It's so hard to write a graphics driver that open-sourcing it would not help." -- Andrew Fear, Software Product Manager, NVIDIA Corporation http://kerneltrap.org/node/7228Received on 2008/06/30 12:25
This archive was generated by hypermail 2.2.0 : 2008/06/30 12:30 CEST