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 HAP

Performance cost of using Lua for service discovery

2023-06-20 Thread Diffie
Hello! I had a question about the performance of Lua in HAProxy. I am experimenting with using a Lua script as a way of dynamically updating server ports. This script would be used instead of HAProxy's native support for DNS SRV records for service discovery (SRV records are not ideal for my us