]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: add counters for SSL cache lookups and misses
authorWilly Tarreau <w@1wt.eu>
Wed, 28 May 2014 14:47:01 +0000 (16:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 28 May 2014 14:53:04 +0000 (16:53 +0200)
commitce3f913e48a68c6f079cff36b75e5d1860630b22
treeeefd43b937d48fdd4a50a8384fddaa543bf2e9d1
parent0c9c2720dcf67604543c1450a2bfb63d2781b9af
MINOR: stats: add counters for SSL cache lookups and misses

One important aspect of SSL performance tuning is the cache size,
but there's no metric to know whether it's large enough or not. This
commit introduces two counters, one for the cache lookups and another
one for cache misses. These counters are reported on "show info" on
the stats socket. This way, it suffices to see the cache misses
counter constantly grow to know that a larger cache could possibly
help.
include/types/global.h
src/dumpstats.c
src/shctx.c