MEDIUM: queue: determine in process_srv_queue() if the proxy is usable
authorWilly Tarreau <w@1wt.eu>
Fri, 18 Jun 2021 17:45:17 +0000 (19:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Jun 2021 16:57:18 +0000 (18:57 +0200)
commitde814dd4228fa5e528d9ac1f0e1c4c7325ee52d3
tree4fe5b8eaeb4e5b1c442b01f3c9a0fe80291354bf
parent1335eb9867b76c8e4570ad4242dc728287af3d56
MEDIUM: queue: determine in process_srv_queue() if the proxy is usable

By doing so we can move some evaluations outside of the lock and the
loop. In the round robin case, the performance increases from 497k to
505k rps on 16 threads with 100 servers.
src/queue.c