Engineering
How MDDB works inside: investigations, benchmarks, bugs that hid well and the design choices behind search, storage and MCP.
-
MDDB reads C, C++ and assembly
MDDB 2.18 reads C, C++ and assembly: which file defines a function, what calls it, who includes a header. What it finds, how it was checked, and what every other language gets.
-
The Bugs That Looked Like Success
Three releases, one pattern: a backup that could not be restored, a log where every call looked the same, and a filter that returned 7 of 100. None of them raised an error.
-
Is It Leaking? Read a Different Number
A report said MDDB grew from 42 MB to 153 MB under load. The observation was probably right and the conclusion wrong — and the difference is one field you already have.
-
Flat Throughput Is a Diagnosis
Two optimisations to MDDB's vector loop predicted 33% and delivered 1.5%. The benchmark had been saying why for months, in a column nobody read as a diagnosis.
-
The Collection Knows How to Be Searched
Retrieval settings and answer formatting used to live in every client. In MDDB 2.12 they live with the data, so a new consumer gets them right without being told.
-
What Breaks If I Change This?
MDDB 2.12 indexes what a code file declares, uses and imports, then answers the relational questions grep cannot: what depends on this selector, which pages load this script, what is nobody using any more.
-
Diversifying Near-Duplicate Search Results
A runbook copied for four environments can occupy four result slots. MDDB uses MinHash overlap to reduce that repetition after ranking.