Skip to content

A redis-backed storage backend - #1170

Open
stefanor wants to merge 2 commits into
prometheus:masterfrom
stefanor:redis-values
Open

A redis-backed storage backend#1170
stefanor wants to merge 2 commits into
prometheus:masterfrom
stefanor:redis-values

Conversation

@stefanor

@stefanor stefanor commented Apr 26, 2026

Copy link
Copy Markdown

The multiprocess backend has an issue with database file explosion (#204, #518, etc.)

In the environment that I'm running into this problem, we have a redis database available, so why not take advantage of this?

Here is a fairly naive proof-of-concept example.

Also compatible with Valkey.

@stefanor
stefanor force-pushed the redis-values branch 10 times, most recently from 410e68f to a61fed9 Compare May 3, 2026 18:58
@stefanor
stefanor force-pushed the redis-values branch 2 times, most recently from 0543a95 to 7c7d64c Compare May 8, 2026 03:44
@stefanor

Copy link
Copy Markdown
Author

FWIW, we're using this in production: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3013

So far, it seems to work well.

@SHxKM

SHxKM commented Aug 21, 2026

Copy link
Copy Markdown

@stefanor this might solve quite a big headache for me, is it still working for you guys?

@stefanor

Copy link
Copy Markdown
Author

Yes, we haven't had to touch it since.

Signed-off-by: Stefano Rivera <stefano@rivera.za.net>
Signed-off-by: Stefano Rivera <stefano@rivera.za.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants