Engineering highlights
Tosumu grew out of two learning goals: writing Rust beyond small exercises and understanding what happens between a database call and the bytes on disk. The first version appended records and read them back. Adding ordered lookup, transactions, and concurrent readers made it possible to ask harder questions and exercise the answers through a public API.
Try a storage decision in your browser
Open the lab and select Fresh store, then Populated store. Both fixtures have compatible headers. The header alone cannot tell you what records are in either store. Select Truncated to see the Rust inspector report that it has too few bytes to read the header. The same inspection contract drives both browser views. Open the inspection lab.
A benchmark found a disappearing record
The concurrency benchmark kept an existing reader open while a writer updated the same keys. It also checked what a fresh reader could see. During repeated updates a fresh read lost a record. Reducing the workload reproduced the failure at revision 56, when a B+ tree leaf containing repeated keys split.
The fix compacted the live entries before splitting the leaf. A 160-cycle regression now exercises that sequence through the public storage interface. Those assertions mattered more than the timing numbers: a fast read that silently misses a committed key would invalidate the comparison. Benchmark investigation and validation.
A consumer replaced a database with identical bytes
RustEditor exercised Tosumu through an experimental resource-storage adapter. With a database open, the consumer replaced its backing resource with an identical copy. The resource version advanced even though its contents still matched. On the next write the adapter reported stale backing, Tosumu propagated the error, and the adapter's write count stayed unchanged.
This case exposed two distinct questions. Page authentication checks the stored bytes. The host also needs to know whether an open handle still owns the resource it is about to change. A third question arises after reopening an older authentic database: establishing freshness requires evidence that survives outside the restored state. Read the experiment and its evidence.
Taking the Rust boundary to another language
Moving from Rust callers to C meant spelling out who owns a returned buffer, how callers release a handle, and what happens when an operation panics. An independent C caller exercised the interface, and a simulator process invoked the archive on iOS 18.5. The next mobile milestone is to load and invoke the Android library in an emulator. Mobile embedding plan and evidence.