[PATCH] OPTIM: startup: fast unique_id allocation for acl

2020-02-13 Thread Carl Henrik Holth Lunde
Hello, attached is a patch to improve startup/reload time for OpenShift and large configuration files in general. We have an issue in our OpenShift cluster with slow router (HAProxy) reloads when we have many routes. This patch solved our issue and reduces reload time from 45 seconds to 0.7 second

Re: [PATCH] OPTIM: startup: fast unique_id allocation for acl

2020-02-20 Thread Carl Henrik Holth Lunde
On Fri, 2020-02-14 at 05:06 +0100, Willy Tarreau wrote: > Hello, > > On Thu, Feb 13, 2020 at 10:04:48PM +0000, Carl Henrik Holth Lunde > wrote: > > Hello, attached is a patch to improve startup/reload time for > > OpenShift and large configuration files in general. [...] &

Re: [PATCH] OPTIM: startup: fast unique_id allocation for acl

2020-02-27 Thread Carl Henrik Holth Lunde
On Tue, 2020-02-25 at 11:47 +0100, Willy Tarreau wrote: [...] > > The patch was written under the assumption that you wanted exactly > > the same behavior. > > Yes that's preferable indeed. > > > Since you say we maybe can drop them, I have created a > > new patch which should work fine but does

Re: [PATCH] OPTIM: startup: fast unique_id allocation for acl

2020-02-27 Thread Carl Henrik Holth Lunde
On Thu, 2020-02-27 at 15:48 +0100, Willy Tarreau wrote: > On Thu, Feb 27, 2020 at 02:35:38PM +0000, Carl Henrik Holth Lunde > wrote: > > > Well, after having looked at it more closely, I'd still rather > > > keep > > > the hole-filling algorithm, so if you ha