Skip to content
~/ dnim.dev
▸ Writing ▸ About
All writing

~/writing/tags

#self-hosting

2 posts

Systems debugging
September 19, 2026 9 min

VictoriaMetrics already had downsampling, under another name

Downsampling is an enterprise feature in VictoriaMetrics. The open-source binary already keeps the last sample per interval during merges and calls it deduplication. Make the interval depend on the sample's age and you have tiers. The patch is 213 lines and has applied cleanly to five releases.

#victoriametrics#prometheus#monitoring#go
Systems debugging
September 12, 2026 8 min

Relaying a self-hosted mail server through Cloudflare

A personal mail server can receive on its own, but sending needs a relay with a reputation. Mine was rewriting my links and adding tracking pixels. Cloudflare now sells a plain SMTP relay on the five-dollar Workers plan, and the cutover is one token, six postconf lines, and a bounce domain Cloudflare maintains for you.

#email#postfix#cloudflare#dkim

dnim.dev · built and broken by JR

Writing GitHub RSS Email
esc

    Keyboard shortcuts

    • Open the command palette ⌘K / Ctrl K
    • Show this help ?
    • Go home g then h
    • Go to writing g then w
    • Close any dialog Esc

    Press ? anytime to see this.