Skip to main content
Deserke
Engineering

Why We Rebuilt Records Storage Around Append-Only Evidence

Deserke Engineering

Engineering Team

Deserke Engineering

1 min read

Published July 20, 2026

Repository
github.com/deserke/records-service
Architecture
Append-only event log with materialized read views
Stack
PostgreSQL, Kafka, Go

Mutable records storage made an old, uncomfortable question hard to answer: what did the system actually know when it made this recommendation, six months ago?

Moving to an append-only evidence log, with derived findings referencing immutable source events by ID, made that question answerable by construction rather than by audit.

The migration touched every service that reads clinical data. We shipped it behind a dual-write flag over eleven weeks before cutting reads over.

About the author

Deserke Engineering

Engineering Team

Deserke Engineering