]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stick-tables: Use a per-shard expiration task
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 29 Sep 2025 13:37:11 +0000 (15:37 +0200)
committerOlivier Houchard <cognet@ci0.org>
Mon, 20 Oct 2025 13:04:47 +0000 (15:04 +0200)
commit8bc8a21b25805d736c13c57b26792a8b8d8b173c
tree29f398f0eefddd2ab598eae86edb7614a2d17b1e
parent945aa0ea82400c0b004bf942fffa19b4fafb35c4
MEDIUM: stick-tables: Use a per-shard expiration task

Instead of having per-table expiration tasks, just use one per shard.
The task will now go through all the tables to expire entries. When a
table gets an expiration earlier than the one previously known, it will
be put in a mt-list, and the task will be responsible to put it into an
eb32, ordered based on the next expiration.
Each per-shard task will run on a different thread, so it should lead to
a better load distribution than the per-table tasks.
include/haproxy/stick_table-t.h
src/stick_table.c