~/lightning

String interning in Prometheus

Lightningat PromCon EU 2024 · 2024-09-11..09-12
slides:none on file

An alternate Prometheus build implements string interning by assigning numeric IDs to individual strings and using a 2–3 byte encoding for labels instead of storing repeated full strings. The first image appeared in March as tag dup labels and the feature merged in February into release 2.54.0. Early experiments show about 15% lower memory at the cost of roughly 10% higher CPU, and a pathological no‑eviction table caused unbounded memory growth until fixed.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.