Notes
Design notes on RunMelody as it is built: background ideas, dated experiments, and changes to the design. The design page says where things stand today.
RSS feed
All notes
-
2 December 2026
Why MelodyDB is now RunMelody
Why we dropped “DB”: RunMelody is the application platform, not the storage engine. Postgres comes first, engines plug in through a public interface, and
melody release still owns operations.
-
15 November 2026
More than one engine
The first design ran only on RunMelody’s own engines. Why Postgres and other engines might become targets, what a hand translation to Postgres found, and the rule for moving between them.
-
11 November 2026
A single system, compiled
The first full design: the bet, what the whole system covers, the choices behind it, and what is claimed and what isn’t.
Questions about RunMelody
Direct answers to questions from readers.
Background
Where the design came from, and how it is developing. These notes carry an order and no date.
-
Background · 1
What if you declared every query at build time?
The question RunMelody started from, what general-purpose engines cost, why the application server is inside, what a small app should cost, and how I work with agents.
-
Background · 2
Admission control belongs in the design
Why admission control belongs in the application design: explicit bounds, handled refusals, graceful degradation and coordinated retries.
-
Background · 3
SLOs are design inputs
Why latency, scale, availability and cost belong in the design, so the compiler can explore engines, topology and feature tradeoffs without an application rewrite.
-
Background · 4
Score: keeping implementation out of the application
How Score separates application intent from implementation, with explicit effects, logical transformations, and room for the compiler to improve cost, performance, and security.
-
Background · 5
Derived indexes are more than data structures
Why indexes, caches and materialized views belong with their maintenance machinery, and how RunMelody aims to preserve freshness and portability across targets.
Follow along and help shape RunMelody. Get design notes, video demos, and release updates.