Re: Performance cost of using Lua for service discovery

2023-06-21 Thread Thomas Pedoussaut
Hi, For something similar, I in fact use the admin socket to haproxy to add drain and remove servers from backend definitions. Very light and doesn't use CPU on the haproxy machine. On 21 June 2023 02:29:42 GMT+02:00, Diffie wrote: >Hello! > >I had a question about the performance of Lua in

Re: maint, drain: the right approach

2023-05-23 Thread Thomas Pedoussaut
On 23/05/2023 11:14, Matteo Piva wrote: Seems that it's considered an expected behavior to consider optimistically the server as UP when leaving MAINT mode, even if the L4 health checks are not completed yet. I consider that a quite annoying feature, but maybe I'm approaching at this in a

Re: [*EXT*] Important HAProxy releases to come next week

2023-02-13 Thread Thomas Pedoussaut
On 13/02/2023 13:53, Willy Tarreau wrote: On Mon, Feb 13, 2023 at 12:45:36PM +0100, Ionel GARDAIS wrote: That's a pretty sneaky way to ruin one's Valentine dinner. :-D Sure, but we have to compose between disclosing too early, ruining the west coast's morning and too late, ruining eastern

Re: Issues with dynamic inserted servers

2023-02-08 Thread Thomas Pedoussaut
On 08/02/2023 10:09, Aurelien DARRAGON wrote: In fact at some point I had a backend with 5 srv from config + 3 dynamically inserted. Those new ones got about 50 requests pushed to them, until they reaches the slowstart delay(I think, must investigate more), when they stopped being selected for

Re: Issues with dynamic inserted servers

2023-02-08 Thread Thomas Pedoussaut
On 08/02/2023 09:52, Willy Tarreau wrote: Just out of curiosity (and in order to help narrow the root cause further), it would be interesting to know if the same problem happens with static algorithms like "balance uri", as they cannot use the same heuristics as other algos like "random" or

Re: Issues with dynamic inserted servers

2023-02-08 Thread Thomas Pedoussaut
Thanks Aurelien, I feel less lonely on this. I might add that sometime as well the server check results switches to 4 = CHK_RES_CONDPASS which seems to indicate a bug in the handling of the maxconn parameter. I will run experiments without the maxconn to confirm (or not) the culprit. On

Issues with dynamic inserted servers

2023-02-07 Thread Thomas Pedoussaut
If someone has a bit more experience in inserting backends on the fly with L7 checks, i'll be gratefull. -- Thomas Pedoussaut

subscribe

2023-02-07 Thread Thomas Pedoussaut