Managing a distributed system is painful. MelodyDB compiles your database, app server, workflows and everything else into one program. One command releases it, and an agent manages operations for you. Run it anywhere: on prem, in the cloud, even in the browser. One codebase, any target.
Experimental. Not released yet.
Follow along and help shape MelodyDB. Get design notes, video demos, and release updates.
$ melody build cloudflare database ✓ app server ✓ workflows ✓ agents ✓ search ✓ backups ✓built store.melody for cloudflare · 9 s$ melody release SJC San Jose ✓ FRA Frankfurt ✓ NRT Tokyo ✓🎶 store.melody is playing on cloudflare Sat 03:12 restarted after a crash Sat 03:40 backed up Sun 02:05 security fix applied🎶 Still playing. Nothing needs you.
A real application is a database, an application server, a workflow engine, a search index, a cache, a queue and whatever else it has grown to need, plus the outside services they all call. Each one is well built. The pain is in running them together. Every release, data change, backup and late-night page crosses the gaps between them, and no tool sees more than its own part.
MelodyDB is a bet that one compiler can see all of it. Your coding agent writes the app in Score, and the compiler builds the complete distributed system from it. One command releases it, moves the data and puts the new version live. MelodyDB keeps it running and tells you only when it needs a decision.
Learn: why search results can be out of date. An interactive toy-shop story about indexes and updates.
Design: where the design stands today, and what isn’t settled.
Notes: dated notes as MelodyDB is built, starting with the first full design.
The original idea: the question MelodyDB started from, and what followed from it.
I’m Doug Tarr. I spent eight years at MongoDB, where I was VP of Engineering for Search & Inference. I’m building MelodyDB on my own, with coding agents, and plan to open the source. I write at douglastarr.com, and you can reach me at [email protected] or on X at @doug_tarr.